mirror of
https://github.com/bitcoin/bips.git
synced 2025-02-23 15:20:50 +01:00
BIP0009 code syntax fix
This commit is contained in:
parent
0bbe045104
commit
f71727f1c3
1 changed files with 1 additions and 2 deletions
|
@ -112,7 +112,7 @@ other one simultaneously transitions to STARTED, which would mean both would dem
|
|||
|
||||
Note that a block's state never depends on its own nVersion; only on that of its ancestors.
|
||||
|
||||
case STARTED: {
|
||||
case STARTED:
|
||||
if (GetMedianTimePast(block.parent) >= timeout) {
|
||||
return FAILED;
|
||||
}
|
||||
|
@ -127,7 +127,6 @@ Note that a block's state never depends on its own nVersion; only on that of its
|
|||
if (count >= threshold) {
|
||||
return LOCKED_IN;
|
||||
}
|
||||
}
|
||||
|
||||
After a retarget period of LOCKED_IN, we automatically transition to ACTIVE.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue