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

refactor: NodeStateUpdate to include all fields #885

Merged
merged 2 commits into from
Apr 16, 2019
Merged

Conversation

sangaman
Copy link
Collaborator

@sangaman sangaman commented Apr 13, 2019

This PR refactors the NodeStateUpdate type and the logic around it to include all the fields from the NodeState type except those which should not change, namely version and nodePubKey. This is a follow-up to the fix in #876.

@sangaman sangaman added p2p Peer to peer networking code quality Improving code structure, organization, and clarity labels Apr 13, 2019
@sangaman sangaman requested a review from a user April 13, 2019 03:59
@ghost ghost assigned sangaman Apr 13, 2019
@ghost ghost added the in progress label Apr 13, 2019
This commit refactors the `NodeStateUpdate` type and the logic around it
to include all the fields from the `NodeState` type except those which
should be fixed, namely `version` and `nodePubKey`. This is a follow-up
to the fix in #876.
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you for taking the time to do a follow-up fix 🙇.

@sangaman sangaman merged commit e59e96e into master Apr 16, 2019
@sangaman sangaman deleted the nodestateupdate branch April 16, 2019 03:09
@ghost ghost removed the in progress label Apr 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Improving code structure, organization, and clarity p2p Peer to peer networking
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant