You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bip-0008.mediawiki
+5-8Lines changed: 5 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -118,21 +118,16 @@ We remain in the initial state until we reach the start block height.
118
118
}
119
119
return DEFINED;
120
120
121
-
After a period in the STARTED state, if we're past the timeout, we switch to LOCKED_IN or FAILING. If not, we tally the bits set,
121
+
After a period in the STARTED state, we tally the bits set,
122
122
and transition to LOCKED_IN if a sufficient number of blocks in the past period set the deployment bit in their
123
123
version numbers. The threshold is ≥1916 blocks (95% of 2016), or ≥1512 for testnet (75% of 2016).
124
-
The transition to FAILING takes precedence, as otherwise an ambiguity can arise.
125
-
There could be two non-overlapping deployments on the same bit, where the first one transitions to LOCKED_IN while the
126
-
other one simultaneously transitions to STARTED, which would mean both would demand setting the bit.
124
+
If the threshold hasn't been met, and we reach the timeout, then we either transition to LOCKED_IN state anyway (if lockinontimeout is true), or we transition to FAILING.
127
125
128
126
Note that a block's state never depends on its own nVersion; only on that of its ancestors.
0 commit comments