open-blockchain-explorer / tnbexplorer

Blockchain Explorer for thenewboston cryptocurrency network
4 stars 4 forks source link

Node Page #84

Open tomijaga opened 2 years ago

tomijaga commented 2 years ago

Display all the data in the node's config (e.g http://bank.tnbexplorer.com/config)

It's going to use the node's domain name or IP address to identify each node. This is used instead of the node_id because you can't get the config data of a bank from its node_id without looping through the /banks data

example route: /nodes/?url={protocol}://{host}:{port}

Any invalid route will display an invalid node page. The same will happen if the node's url cannot be reached