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

retire support for v2 blocks #3587

Merged
merged 1 commit into from
Mar 6, 2021

Conversation

antiochp
Copy link
Member

@antiochp antiochp commented Mar 6, 2021

We no longer need to support v2 peers when they request full blocks.
All nodes on the network support v3 blocks consistently since HF4.

v2 block support does not interact cleanly with full archival support as archival nodes cannot rewind beyond horizon to correctly convert to legacy v2 block regardless of having blocks in the local db.

Resolves #3586.
Related [tbd] (@bladedoyle has an issue somewhere related to rewind).

get_block simply returns None if v2 support required
@antiochp antiochp changed the title no more support for v2 blocks retire support for v2 blocks Mar 6, 2021
@antiochp antiochp merged commit 3574020 into mimblewimble:master Mar 6, 2021
@antiochp antiochp deleted the v3_block_consistency branch March 6, 2021 21:40
@antiochp antiochp mentioned this pull request May 6, 2021
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.

archival node with excessive rewind behavior
2 participants