Skip to content

Commit 51b2d13

Browse files
authored
Merge pull request bitcoin#1184 from katesalazar/20210917
BIP 0009: Remove transparent background from figure.
2 parents f61885e + 497ad1c commit 51b2d13

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

bip-0009/states.gv

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* There are many ways to compile this, but one of them is:
2+
*
3+
* $ dot -Tpng states.gv -o states.png
4+
*/
5+
digraph {
6+
/* States. */
7+
DEFINED; FAILED; STARTED; LOCKED_IN; ACTIVE;
8+
9+
/* Relationships between states, labeled where applicable. */
10+
DEFINED -> DEFINED;
11+
DEFINED -> FAILED [label = "timeout ≤ MTP"];
12+
DEFINED -> STARTED [label = "starttime ≤ MTP < timeout"];
13+
FAILED -> FAILED;
14+
STARTED -> STARTED;
15+
STARTED -> FAILED [label = "timeout ≤ MTP"];
16+
STARTED -> LOCKED_IN [label = "(MTP < timeout) AND (threshold reached)"];
17+
LOCKED_IN -> ACTIVE [label = "Always"];
18+
ACTIVE -> ACTIVE;
19+
20+
/* Visualization hack to unclutter output. */
21+
nodesep = 1.2;
22+
}

bip-0009/states.png

19.1 KB
Loading

0 commit comments

Comments
 (0)