summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-06-26 15:12:06 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-06-26 15:25:22 +0000
commit8e906f14af22aaccc58de9faa0c17d4c7228cccc (patch)
tree2a49887e597218c0cd159b2fd2680600f491df67
parenta59aaceffceaccca87a9efbff26e5af157485914 (diff)
downloadbips-8e906f14af22aaccc58de9faa0c17d4c7228cccc.tar.xz
BIP 8: Remove impossible direct path from DEFINED to FAILING
-rw-r--r--bip-0008.mediawiki5
-rw-r--r--bip-0008/states.pngbin28132 -> 25677 bytes
-rw-r--r--bip-0008/states.svg4
3 files changed, 2 insertions, 7 deletions
diff --git a/bip-0008.mediawiki b/bip-0008.mediawiki
index 4d7c85f..612fd42 100644
--- a/bip-0008.mediawiki
+++ b/bip-0008.mediawiki
@@ -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;
}
diff --git a/bip-0008/states.png b/bip-0008/states.png
index 0e2ff02..76f6cb7 100644
--- a/bip-0008/states.png
+++ b/bip-0008/states.png
Binary files differ
diff --git a/bip-0008/states.svg b/bip-0008/states.svg
index 1824064..f2e4b34 100644
--- a/bip-0008/states.svg
+++ b/bip-0008/states.svg
@@ -25,7 +25,7 @@
<text x="176" y="72" font-size="20" text-anchor="middle">DEFINED</text>
<path d="M 128 80 a 24 32 0 1 1 0 -32"/><!-- loop -->
<path d="M 176 80 l 0 96"/>
- <text x="182" y="128" font-size="12" text-anchor="start">startheight &lt;= height &lt; timeoutheight</text>
+ <text x="182" y="128" font-size="12" text-anchor="start">startheight &lt;= height</text>
<rect x="112" y="176" width="128" height="32"/>
<text x="176" y="200" font-size="20" text-anchor="middle">STARTED</text>
<path d="M 128 208 a 24 32 0 1 1 0 -32"/><!-- loop -->
@@ -43,8 +43,6 @@
<rect x="640" y="176" width="128" height="32"/>
<text x="704" y="200" font-size="20" text-anchor="middle">FAILING</text>
- <path d="M 240 64 l 400 112"/>
- <text x="440" y="108" font-size="12" text-anchor="start">timeoutheight &lt;= height</text>
<path d="M 240 192 l 400 0"/>
<text x="408" y="184" font-size="12" text-anchor="middle">(lockinontimeout == false) AND (timeoutheight &lt;= height)</text>
<path d="M 704 208 l 0 176"/>