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

[2.x.x] Writeable protocol version aware #2856

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented May 28, 2019

This is the other "half" of #2824.
We now pass a "protocol version" into serialization/deserialization based on the version provided by our peer, or our local db storage.
This allows us to read/write different protocol versions in a robust way - making version negotiation across the p2p layer possible along with local db upgrades and backward compatibility.

This is not actively in use yet - everything remains on protocol version 1 but this will allow nodes to support (and upgrade safely) to the proposed kernel serialization in #2859.

@antiochp antiochp added this to the 1.1.1 milestone May 28, 2019
@antiochp antiochp changed the base branch from master to milestone/2.x.x July 4, 2019 11:32
@antiochp antiochp force-pushed the writeable_protocol_version_aware branch from 5fb1f22 to 9e9f3dd Compare July 4, 2019 14:21
@antiochp antiochp force-pushed the writeable_protocol_version_aware branch from 9e9f3dd to e187f4b Compare July 6, 2019 10:32
@antiochp antiochp marked this pull request as ready for review July 6, 2019 10:32
@antiochp antiochp changed the title [WIP] Writeable protocol version aware [2.x.x] Writeable protocol version aware Jul 6, 2019
@antiochp antiochp requested review from hashmap and ignopeverell July 6, 2019 10:37
@antiochp
Copy link
Member Author

antiochp commented Jul 6, 2019

Going to merge this. See #2824 for original context and discussion.

@antiochp antiochp merged commit d284d8f into mimblewimble:milestone/2.x.x Jul 6, 2019
@antiochp antiochp deleted the writeable_protocol_version_aware branch July 6, 2019 14:51
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.

1 participant