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

adds publicKey grpc endpoint #147

Closed
wants to merge 1 commit into from
Closed

Conversation

benbot
Copy link

@benbot benbot commented May 28, 2021

I was looking for this myself when I came across #141.

If this looks good to everyone I could add it to go-spacemesh as well.

I was running into a weird issue when running make build.

It can't find the definition for HttpRule

Closes #141

@lrettig
Copy link
Member

lrettig commented Jun 11, 2021

I'm okay with this. @Narayanprusty @AmitShaul does it look good to you guys?

@lrettig lrettig requested review from AmitShaul and web3rover June 11, 2021 22:18
@avive
Copy link
Contributor

avive commented Jun 14, 2021

q: is the public key returned here different or same to smesher id in activations?

@benbot
Copy link
Author

benbot commented Jul 4, 2021

@avive It should be the same. Unless I forgot everything about spacemesh in the last 20 days 😅

@avive avive requested a review from lrettig July 28, 2021 02:04
@@ -13,4 +13,7 @@ service DebugService {
// This includes each account's address, nonce and balance but excludes projection of account state.
rpc Accounts (google.protobuf.Empty) returns (AccountsResponse);

// PublicKey returns this node's public key
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you expand this comment to explain exactly which public key is returned? go-spacemesh actually uses several public keys. See spacemeshos/go-spacemesh#2269 for more.

@benbot benbot closed this Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add API method for getting node's public key
4 participants