Skip to content

mandatory: Testnet v13 mandatory #2800

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

Merged

Conversation

jamescowens
Copy link
Member

@jamescowens jamescowens commented Apr 21, 2025

This PR increments the PROTOCOL_VERSION and also sets the testnet v13 mandatory height (and related project and superblock version heights) to 2870000. A checkpoint was also added at 2800000.

Note that this height is (2870000 - 2837180) = 32830 blocks from 2025-04-21T19:00Z.

Current Time 2025-04-21 19:00:00
Blocks to Mandatory 32,830
Blocks/Day 878.2956
Days 37.3792149249068
Estimated Mandatory Date/Time 05/29/25 04:06 AM

Note that the config overrides have been left in place for me to continue to run the long running isolated v13 fork for testing. They will be removed by the mainnet v13 and/or v14 mandatory PR.

@jamescowens jamescowens added this to the Natasha milestone Apr 21, 2025
@jamescowens jamescowens requested a review from div72 April 21, 2025 19:06
@jamescowens jamescowens self-assigned this Apr 21, 2025
@jamescowens jamescowens requested a review from Copilot April 21, 2025 19:09
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the testnet parameters for the mandatory Testnet v13 activation by incrementing protocol versions and revising consensus block heights, along with adding a new checkpoint.

  • Incremented protocol and minimum peer protocol versions in src/version.h.
  • Updated the protocol version check in src/main.cpp to reference BlockV13Height.
  • Revised testnet consensus parameters and added a checkpoint in src/chainparams.cpp.

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
src/version.h Updated PROTOCOL_VERSION and MIN_PEER_PROTO_VERSION to new values for v13 activation.
src/main.cpp Adjusted protocol version condition to use BlockV13Height, aligning with the new consensus rules.
src/chainparams.cpp Modified BlockV13Height, ProjectV4Height, and SuperblockV3Height values; added a checkpoint entry.

Copy link
Member

@div72 div72 left a comment

Choose a reason for hiding this comment

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

utACK.

@jamescowens jamescowens merged commit e4f25ca into gridcoin-community:development Apr 22, 2025
29 of 33 checks passed
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.

2 participants