1
0
Fork 0
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:
Steven Roose 2016-05-14 14:21:46 +02:00
parent 0bbe045104
commit f71727f1c3

View file

@ -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.