mirror of
https://github.com/bitcoin/bips.git
synced 2026-06-01 17:15:27 +00:00
BIP 8: Remove impossible direct path from DEFINED to FAILING
This commit is contained in:
@@ -110,12 +110,9 @@ Otherwise, the next state depends on the previous state:
|
||||
|
||||
switch (GetStateForBlock(GetAncestorAtHeight(block, block.height - 2016))) {
|
||||
|
||||
We remain in the initial state until either we pass the start block height or the timeout height.
|
||||
We remain in the initial state until we reach the start block height.
|
||||
|
||||
case DEFINED:
|
||||
if (block.height >= timeoutheight) {
|
||||
return (lockinontimeout == true) ? LOCKED_IN : FAILING;
|
||||
}
|
||||
if (block.height >= startheight) {
|
||||
return STARTED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user