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

net, consensus: Ban nodes 5.4.5.0 and below #2751

Merged
merged 1 commit into from
Mar 13, 2024

Conversation

jamescowens
Copy link
Member

@jamescowens jamescowens commented Mar 13, 2024

Given the unintended fork that occurred at 3190603/4 on mainnet due to a coding mistake where TxMessage contracts were constructed at version 3 instead of 2 before the block v13 hard fork point, which is not set yet, at this point since most nodes have moved over to 5.4.6.0 with the implicit protocol change that implies, we need to automatically disconnect nodes at versions between 5.4.0.0 and 5.4.5.0, in addition to the disconnect that already exists for out of date protocol version, which covers < 5.4.0.0 nodes (i.e. prior to the last mandatory).

This effectively makes 5.4.6.0 a mandatory. Introducing a formal mandatory at this point and incrementing the protocol version will not help us in this case, because the protocol version was NOT incremented between 5.4.5.0 and 5.4.6.0.

@jamescowens jamescowens changed the base branch from development to hotfix March 13, 2024 02:23
@jamescowens jamescowens requested a review from div72 March 13, 2024 02:31
@jamescowens jamescowens self-assigned this Mar 13, 2024
@jamescowens jamescowens removed the request for review from div72 March 13, 2024 03:00
@jamescowens jamescowens merged commit 25c4a50 into gridcoin-community:hotfix Mar 13, 2024
17 checks passed
jamescowens added a commit to jamescowens/Gridcoin-Research that referenced this pull request Mar 13, 2024
Added
 - net, consensus: Ban nodes 5.4.5.0 and below gridcoin-community#2751 (@jamescowens)

Changed

Removed

Fixed
 - util: Adjust Fraction class addition overload overflow tests gridcoin-community#2748 (@jamescowens)
@jamescowens jamescowens deleted the ban_5.4.5.0- branch July 21, 2024 15:48
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.

3 participants