SoftForks Unit
This PR gathers the various soft fork mechanisms into one place making it more orderly. As a positive side effect, it will also make the VersionBits implementation simpler.
This PR depends on #6774
I checked consensus is not affected by spinning up a new node and syncing from scratch. The node synced to the correct tip @ block 377385, 0000000000000000056d10c5f1cc9961ce2476da818a2fb4dd54ca3bcfb99a8d
ACK
1719- // two in the chain that violate it. This prevents exploiting the issue against nodes during their
1720- // initial block download.
1721- bool fEnforceBIP30 = (!pindex->phashBlock) || // Enforce on CreateNewBlock invocations which don't have a hash.
1722- !((pindex->nHeight==91842 && pindex->GetBlockHash() == uint256S("0x00000000000a4d0a398161ffc163c503763b1f4360639393e0e4c8e300e0caec")) ||
1723- (pindex->nHeight==91880 && pindex->GetBlockHash() == uint256S("0x00000000000743f190a18c5577a3c2d2a1f610ae9601ac046a38084ccb7cd721")));
1724+ // For soft fork details, look in consensus/softforks.cpp
18+ BIP34,
19+ BIP42,
20+ BIP62,
21+ BIP65,
22+ BIP66,
23+ BIP68,