Open web3rover opened 3 years ago
Currently we don't have an API to get the public key of node. We need this to construct the bootnodes config for the nodes in our DevOps tools. Currently our DevOps tools either get this from the logs which looks something like this:
bootnodes
{"L":"INFO","T":"2021-03-30T18:00:38.417Z","N":"ec468.p2p ","M":"local node identity","node_id":"ec468458ada0fa621c07563dc412c5e7c31979e9d630867301b42540ea35f97c","key":"23gfU2ukQpMbC7NaxgFVaCQpLP9XSNbfunp62na9QwcJ"}
Or read id.json file in the container directory:
id.json
/root/spacemesh/{networkID}/p2p/nodes
Should def be added to the DebuggingService IMO
Description
Currently we don't have an API to get the public key of node. We need this to construct the
bootnodes
config for the nodes in our DevOps tools. Currently our DevOps tools either get this from the logs which looks something like this:Or read
id.json
file in the container directory: