summaryrefslogtreecommitdiff
path: root/bip-0008/states.dot
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2021-03-08 16:49:33 -0500
committerAndrew Chow <achow101-github@achow101.com>2021-03-20 15:03:49 -0400
commit54fe11608cd36f66260e525217ab32b07efaec62 (patch)
treec7ff2f938d298ab81a5da1ae353010294a08fc76 /bip-0008/states.dot
parent333fc69ab9e6ba6d7ced5236db25f599cd6041b3 (diff)
downloadbips-54fe11608cd36f66260e525217ab32b07efaec62.tar.xz
Add minimum activation height to BIP 8
Diffstat (limited to 'bip-0008/states.dot')
-rw-r--r--bip-0008/states.dot3
1 files changed, 2 insertions, 1 deletions
diff --git a/bip-0008/states.dot b/bip-0008/states.dot
index aa919ff..8615978 100644
--- a/bip-0008/states.dot
+++ b/bip-0008/states.dot
@@ -7,7 +7,8 @@ digraph {
"DEFINED" -> "STARTED" [label="height >= start_height"];
"STARTED" -> "MUST_SIGNAL" [label="height + 2016 >= timeoutheight AND lockinontimeout"];
"STARTED" -> "FAILED" [label="height >= timeoutheight\nAND\nNOT lockinontimeout"];
- "LOCKED_IN" -> "ACTIVE" [label="always"];
+ "LOCKED_IN" -> "ACTIVE" [label="height >= minimum_activation_height"];
+ "LOCKED_IN":se -> "LOCKED_IN":ne [label="height < minimum_activation_height"];
"MUST_SIGNAL" -> "LOCKED_IN" [label="always"];
edge [weight = 1];