-
Notifications
You must be signed in to change notification settings - Fork 706
client: add {node,validator}_public_key field to /status response; deprecated node_key #7828
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
Currently, response to the /status request returns a `node_key` field. However, the field does not include node key but rather validator key. Rename this field to `validator_key`. Furthermore, reuse `node_key` for the actually node key. The massive problem with this change is of course that it will silently break any existing code which thinks node_key in the response is the validator key. Fixes: near#7672
This is really more of an RFC since I’m not convinced myself that this is a correct way to do this. |
Tagging some folks from the node team to weight in on the PR then: @nikurt |
The change looks good. |
Currently, response to the /status request returns a
node_key
field. However, the field does not include node key but rather
validator key. Deprecated it in favour of two new fields:
node_public_key
andvalidator_public_key
.Fixes: #7672