From fa5d6becb482da75e65683b0ae690d35fa3eade6 Mon Sep 17 00:00:00 2001 From: kaotisk Date: Tue, 27 Feb 2024 07:20:27 +0200 Subject: Refactor Arching Kaos ID to node_info --- api/routes/default/index.js | 2 +- api/routes/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'api') diff --git a/api/routes/default/index.js b/api/routes/default/index.js index e5db7f5..f3eb50e 100644 --- a/api/routes/default/index.js +++ b/api/routes/default/index.js @@ -9,7 +9,7 @@ module.exports = (req, res) => { {gathered_zchain_zlatest_pairs:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/seens"}, {node_local_chain:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/chain"}, {node_local_peers:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/peers"}, - {node_local_akid:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/akid"}, + {node_local_info:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/node_info"}, {node_local_zlatest:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/zlatest"}, {latest_known_mined_block:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/slatest"}, {show_mined_block:settings.DEF_PROTO+"["+settings.LOCAL_IP+"]:"+settings.PORT+settings.URL_PREFIX+"/sblock"}, diff --git a/api/routes/index.js b/api/routes/index.js index 3755524..174ed66 100644 --- a/api/routes/index.js +++ b/api/routes/index.js @@ -40,8 +40,8 @@ router.route(settings.URL_PREFIX+'/sblock/:sblock').get(getSBlock); router.route(settings.URL_PREFIX+'/zchain').get(getZChain); // Returns latest zblock from node's local chain router.route(settings.URL_PREFIX+'/zlatest').get(getZLatest); -// Returns local node's akid -router.route(settings.URL_PREFIX+'/akid').get(getAkid); +// Returns local node's info +router.route(settings.URL_PREFIX+'/node_info').get(getAkid); // Returns local node's peers router.route(settings.URL_PREFIX+'/peers').get(getPeers); // Returns content -- cgit v1.2.3