HomePhabricator

Activate replay protection at the time the next HF is scheduled.

Description

Activate replay protection at the time the next HF is scheduled.

Summary: This code will remain in place until the next HF is implemented, which ensure that there will be replay protection between the chains in case a minority survives by default. Obviously, the minority can chose to also do a hard fork and remove that replay protection, but then it is up to the minority chain promoter to convince actor in the space.

Test Plan: Added an integration test which grills the replay protection activation and deactivation (in case of reorg)

Reviewers: #bitcoin_abc, jasonbcox

Reviewed By: #bitcoin_abc, jasonbcox

Subscribers: jasonbcox, teamcity

Maniphest Tasks: T301

Differential Revision: https://reviews.bitcoinabc.org/D1199

Details

Provenance
deadalnixAuthored on Mar 14 2018, 15:51
deadalnixPushed on Mar 15 2018, 21:53
Reviewer
Restricted Project
Differential Revision
D1199: Activate replay protection at the time the next HF is scheduled.
Parents
rSTAGING88634f3c856e: Various nits in validation.cpp
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/3202, tag: phabricator/base/3201