mirror of
https://github.com/bitcoin/bips.git
synced 2025-01-18 21:35:13 +01:00
Merge pull request #1184 from katesalazar/20210917
BIP 0009: Remove transparent background from figure.
This commit is contained in:
commit
51b2d131be
22
bip-0009/states.gv
Normal file
22
bip-0009/states.gv
Normal file
@ -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 not shown.
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 49 KiB |
Loading…
Reference in New Issue
Block a user