diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-04-08 20:44:13 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-04-08 20:44:13 +0200 |
commit | 343f392149caadaf8e4209863364a61672f5c876 (patch) | |
tree | 18500951c2cea21cba368435297b87232620edb8 /transaction-withdrawal-states.dot | |
parent | 768dc523f885d6978799dce2f0ab16435cc3fad4 (diff) | |
download | docs-343f392149caadaf8e4209863364a61672f5c876.tar.gz docs-343f392149caadaf8e4209863364a61672f5c876.tar.bz2 docs-343f392149caadaf8e4209863364a61672f5c876.zip |
major fixes to withdrawal state diagram
Diffstat (limited to 'transaction-withdrawal-states.dot')
-rw-r--r-- | transaction-withdrawal-states.dot | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/transaction-withdrawal-states.dot b/transaction-withdrawal-states.dot index 04d87780..18a80eae 100644 --- a/transaction-withdrawal-states.dot +++ b/transaction-withdrawal-states.dot @@ -23,11 +23,12 @@ digraph G { rank = same; aborted_b2w; aborted_w2b; aborted_aw; aborted_pw; } - initial->pending_brr [label="bank integrated withdraw"]; - initial->pending_ewr [label="manual withdraw"]; + initial->pending_brr [color="blue", label="bank integrated withdraw"]; + initial->pending_ewr [color="blue", xlabel="manual withdraw"]; pending_brr->pending_bc; - pending_bc->pending_ewr; - pending_ewr->pending_wc; + pending_bc->pending_ewr [label="bank-poll:\napproved"]; + pending_bc->pending_wc [xlabel="exchange-poll:\nreserve ready",style="dotted"]; + pending_ewr->pending_wc [label="exchange-poll:\nreserve ready"]; pending_wc->pending_kyc; pending_wc->pending_aml; pending_kyc->pending_wc [color="blue",label="kyc"]; @@ -37,9 +38,15 @@ digraph G { pending_kyc->aborted_pw [color="blue", label="abort"]; pending_aml->aborted_pw [color="blue", label="abort"]; pending_frz->aborted_pw [color="blue", label="abort"]; - pending_brr->aborted_b2w [color="blue", label="abort"]; + + pending_brr->aborting_w2b [color="blue", label="abort"]; + pending_brr->aborted_b2w [color="red", label="error"]; + pending_bc->aborting_w2b [color="blue", label="abort"]; + pending_bc->aborted_b2w [label="bank-poll:\ndenied"]; aborting_w2b->aborted_w2b; + aborting_w2b->aborted_aw [color="red", label="error(already-confirmed)"]; + aborting_w2b->aborted_b2w [color="red", label="error(unknown-transaction)"]; pending_ewr->aborted_aw [color="blue", label="abort"]; pending_wc->aborted_pw [color="blue", label="abort"]; |