-
Notifications
You must be signed in to change notification settings - Fork 51
Add getBestBlockId RPC method #320
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
Conversation
@redongjun Could you update the spec file along with? https://github.com/CodeChain-io/codechain/blob/master/spec/JSON-RPC.md#chain_getbestblockid |
@joojis it's OK Could you know me why the order of field (hash and number) is reversed on a RPC response as below?
|
@redongjun I was unintentional for that. You can change the order in the spec. |
f030ef6
to
6fc2ffe
Compare
@@ -149,7 +149,7 @@ Response Example | |||
``` | |||
|
|||
## chain_getBestBlockId | |||
(not implemented yet) Gets the number and the hash of the best block. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is 1 more "not implemented" note in the List of Methods (line 84)
64adffe
to
f20f841
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Fixed #290