This PR updates the BIP9 bit assignments list since the segwit deployment is now active on testnet. It also changes the csv testnet activation height from "770111" to "770112" since that is the first block where the deployment is active.
Update BIP9 assignments list #400
pull mappum wants to merge 3 commits into bitcoin:master from mappum:update-bip9-assignments changing 1 files +4 −4-
mappum commented at 8:46 AM on June 8, 2016: contributor
-
Fixed CSV testnet state in BIP9 assignments list 08c068ed0b
-
Updated segwit testnet state in BIP9 assignments list cb2952c05e
- luke-jr added the label Proposed BIP modification on Jun 8, 2016
-
in bip-0009/assignments.mediawiki:None in cb2952c05e outdated
22 | +| 2017-05-01 00:00:00 23 | | defined 24 | | 2016-03-01 00:00:00 25 | | 2017-05-01 00:00:00 26 | -| active since #770111 27 | +| active since #770112
laanwj commented at 4:07 PM on June 28, 2016:it's #770111 that changes the state to "active", remember that it checks the state for previous block to see what rules to enforce. #770112 is the second block that has "active" state, but the first for which the rules are enforced.
I tend to agree that mentining #770112 seems more intuitive, but this is a more subtle distinction than most people take into account :) Very easy to introduce off-by-one errors here.
To be precise:
VersionBitsBlockState(chainActive[770110], consensusParams, Consensus::DEPLOYMENT_CSV)isTHRESHOLD_LOCKED_INVersionBitsBlockState(chainActive[770111], consensusParams, Consensus::DEPLOYMENT_CSV)isTHRESHOLD_ACTIVEVersionBitsBlockState(chainActive[770112], consensusParams, Consensus::DEPLOYMENT_CSV)isTHRESHOLD_ACTIVE
laanwj commented at 7:02 AM on June 29, 2016:I'd suggest to change the text to "enforced since #XXX" to prevent confusion then.
laanwj commented at 7:28 AM on June 29, 2016:OK. Someone else must have made that mistake too then, otherwise this number wouldn't be one-off in the first place.
in bip-0009/assignments.mediawiki:None in cb2952c05e outdated
31 | @@ -32,6 +32,6 @@ State can be defined, active, failed. Dates are in UTC. 32 | | - 33 | | 2016-05-01 00:00:00 34 | | 2017-05-01 00:00:00 35 | -| defined 36 | +| active since #834624
laanwj commented at 3:13 PM on June 28, 2016:Checked that this block # is correct for segwit (but with same nit as above - depending on how we want to count this "since", inclusive or not).
Added CSV mainnet activation to BIP9 assignments list 95947c5d77mappum commented at 4:47 PM on July 5, 2016: contributorIt seems a majority in this thread agree that the activation heights in the document should contain the first block which has state
ACTIVE. Can this be merged now?sipa commented at 5:38 PM on July 5, 2016: memberI think 'active' is perfect, as it is the name of the state in BIP9. If there is confusion about what active means, we should clarify the BIP itself.
laanwj commented at 8:09 AM on July 8, 2016: memberYes, let's just merge this. I had the definition wrong (probably my own fault, not the BIP's).
laanwj cross-referenced this on Jul 8, 2016 from issue [Doc] Update bips.md for CSV softfork. by fanquakesipa commented at 10:31 AM on July 8, 2016: memberACK
laanwj merged this on Jul 11, 2016laanwj closed this on Jul 11, 2016
This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-14 11:10 UTC
More mirrored repositories can be found on mirror.b10c.me