diff options
author | Steven Roose <stevenroose@gmail.com> | 2016-05-14 14:21:46 +0200 |
---|---|---|
committer | Steven Roose <stevenroose@gmail.com> | 2016-05-14 14:21:46 +0200 |
commit | f71727f1c38ab42b7c28b50aa491b3243e04cbfd (patch) | |
tree | 62729d9ac6f353fbbda098ccc6991c231c9d3474 | |
parent | 0bbe0451048c0d2e8736dd191bbb94094cb6d80e (diff) | |
download | bips-f71727f1c38ab42b7c28b50aa491b3243e04cbfd.tar.xz |
BIP0009 code syntax fix
-rw-r--r-- | bip-0009.mediawiki | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bip-0009.mediawiki b/bip-0009.mediawiki index 509a8a9..e9b61ee 100644 --- a/bip-0009.mediawiki +++ b/bip-0009.mediawiki @@ -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. |