Page MenuHomePhabricator

Add post-upgrade testnet checkpoint
ClosedPublic

Authored by Mengerian on May 29 2019, 05:37.

Details

Summary

Post-upgrade checkpoint will facilitate simplifying
upgrade activation code.

This checkpoint is block height 1303885, which correponds to the first
block with new rules activated (second block with MTP > activation).

Test Plan

make check
Did an IBD on testnet, synced to the expected chaintip.
Check against public blockchain explorers.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
testnet-checkpoint
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 6048
Build 10155: Bitcoin ABC Buildbot (legacy)
Build 10154: arc lint + arc unit

Event Timeline

Confirm hash & chainwork. Block mediantime is:

"mediantime": 1557922620,

while its parent and parent-parent blocks have 1557922278 and 1557921111 respectively (compared to upgrade MTP 1557921600). This makes 1303884 the activation block (the last under old rules) and 1303885 the first post-activation block (i.e., the first under new rules).

This revision is now accepted and ready to land.May 29 2019, 13:10

Tested IBD successfully

This revision was automatically updated to reflect the committed changes.