Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add API method for getting node's public key #141

Open
narayanprusty opened this issue Mar 31, 2021 · 1 comment
Open

Add API method for getting node's public key #141

narayanprusty opened this issue Mar 31, 2021 · 1 comment

Comments

@narayanprusty
Copy link

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:

{"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:

/root/spacemesh/{networkID}/p2p/nodes
@avive
Copy link
Contributor

avive commented May 25, 2021

Should def be added to the DebuggingService IMO

@avive avive changed the title API to get Public Key of Node API to get node's public key Jul 28, 2021
@avive avive changed the title API to get node's public key Add API method for getting node's public key Jul 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants