summaryrefslogtreecommitdiff
path: root/images/transaction-push-credit-states.dot
diff options
context:
space:
mode:
Diffstat (limited to 'images/transaction-push-credit-states.dot')
-rw-r--r--images/transaction-push-credit-states.dot37
1 files changed, 37 insertions, 0 deletions
diff --git a/images/transaction-push-credit-states.dot b/images/transaction-push-credit-states.dot
new file mode 100644
index 00000000..c51da308
--- /dev/null
+++ b/images/transaction-push-credit-states.dot
@@ -0,0 +1,37 @@
+digraph G {
+
+ initial[label="", shape="circle", xlabel="peer-push-credit"];
+ pending_download[label="pending(download)"];
+ pending_user[label="dialog", shape="box"];
+ pending_merge[label="merge"];
+ pending_merge_kyc[label="merge-kyc"];
+ pending_withdraw[label="withdraw"];
+ pending_withdraw_kyc[label="withdraw-kyc"];
+ pending_withdraw_aml[label="withdraw-aml"];
+
+ subgraph {
+ rank=same;
+ pending_merge; pending_withdraw_kyc; pending_withdraw_aml;
+ }
+
+ done[label="done", shape="box"];
+
+ initial->pending_download;
+
+ pending_download->pending_user [color=green];
+
+ pending_user->pending_merge [color="blue", label="OK"];
+
+ pending_merge->pending_withdraw [color=green];
+ pending_merge->pending_merge_kyc [color=red];
+
+ pending_merge_kyc->pending_merge [color="green"];
+
+ pending_withdraw->pending_withdraw_kyc [color=red];
+ pending_withdraw->pending_withdraw_aml [color=red];
+ pending_withdraw->done [color=green];
+
+ pending_withdraw_kyc->pending_withdraw [color="green"];
+
+ pending_withdraw_aml->pending_withdraw [color="green"];
+}