Takes over #24737.
Now that the commit (https://github.com/bitcoin/bitcoin/commit/7c08d81e119570792648fe95bbacddbb1d5f9ae2) which changes taproot to be enforced for all blocks is sufficiently buried by other commits, and thus less likely to be reverted, it seems a good time to remove no longer needed non-consensus code.
The getdeploymentinfo
RPC now shows taproot
as buried, as it already did for segwit
and earlier softforks.
In addition, getdeploymentinfo
has a new exceptions
array under buried
if there are any exceptions.
Finally, for completeness the P2SH BIP16 soft fork and its exception block is added to getdeploymentinfo
. This also makes sense given that bip34
was listed even though it’s older than bip16
.
TODO: the current version partly reverts #11739, which seems like going in the wrong direction. So rather than stuffing BIP16 and Taproot activation height into the consensus critical ChainParams
, I plan to move them to deploymentinfo.h
. This paves the way to dropping the other buried BIPs from ChainParams
too later.