Skip to content

Commit

Permalink
Merge pull request #1184 from katesalazar/20210917
Browse files Browse the repository at this point in the history
BIP 0009: Remove transparent background from figure.
  • Loading branch information
jonatack committed Apr 30, 2024
2 parents f61885e + 497ad1c commit 51b2d13
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions bip-0009/states.gv
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/* There are many ways to compile this, but one of them is:
*
* $ dot -Tpng states.gv -o states.png
*/
digraph {
/* States. */
DEFINED; FAILED; STARTED; LOCKED_IN; ACTIVE;

/* Relationships between states, labeled where applicable. */
DEFINED -> DEFINED;
DEFINED -> FAILED [label = "timeout ≤ MTP"];
DEFINED -> STARTED [label = "starttime ≤ MTP < timeout"];
FAILED -> FAILED;
STARTED -> STARTED;
STARTED -> FAILED [label = "timeout ≤ MTP"];
STARTED -> LOCKED_IN [label = "(MTP < timeout) AND (threshold reached)"];
LOCKED_IN -> ACTIVE [label = "Always"];
ACTIVE -> ACTIVE;

/* Visualization hack to unclutter output. */
nodesep = 1.2;
}
Binary file modified bip-0009/states.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 51b2d13

Please sign in to comment.