From e871db3940894368bca82e90567f47fa5aed2201 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Fri, 5 Dec 2025 16:57:17 -0800 Subject: [PATCH] Add unused diagram showing how to get escrow sequence --- docs/img/_sources/get-escrow-sequence.uxf | 262 ++++++++++++++++++++++ 1 file changed, 262 insertions(+) create mode 100644 docs/img/_sources/get-escrow-sequence.uxf diff --git a/docs/img/_sources/get-escrow-sequence.uxf b/docs/img/_sources/get-escrow-sequence.uxf new file mode 100644 index 0000000000..0eb994d47d --- /dev/null +++ b/docs/img/_sources/get-escrow-sequence.uxf @@ -0,0 +1,262 @@ + + + 10 + + UMLObject + + 90 + 100 + 160 + 80 + + Escrow ledger entry +-- +PreviousTxnID field +... + + + + Relation + + 240 + 130 + 210 + 50 + + lt=<. +look up transaction +by Previous TxnID + 190.0;20.0;10.0;20.0 + + + UMLObject + + 430 + 100 + 160 + 140 + + Transaction +-- +tx_json + TransactionType + Sequence + ... +meta + AffectedNodes + ... +halign=left + + + + UMLSpecialState + + 490 + 320 + 40 + 40 + + type=decision + + + + Relation + + 500 + 230 + 270 + 110 + + lt=<- +Is TransactionType == EscrowCreate? + 10.0;90.0;10.0;10.0 + + + Relation + + 520 + 320 + 120 + 40 + + lt=<- +Yes + 100.0;20.0;10.0;20.0 + + + UMLSpecialState + + 680 + 680 + 20 + 20 + + type=final + + + + + Relation + + 370 + 320 + 140 + 40 + + lt=<- +No + 10.0;20.0;120.0;20.0 + + + UMLState + + 230 + 290 + 150 + 100 + + Check metadata for the same Escrow. + +Get the prior PreviousTxnID. +style=wordwrap + + + + Relation + + 260 + 140 + 30 + 170 + + lt=.> + 10.0;150.0;10.0;10.0 + + + UMLState + + 500 + 540 + 170 + 80 + + Use this transaction's Sequence number to finish or cancel the escrow. +style=wordwrap + + + + Relation + + 570 + 610 + 130 + 100 + + lt=<- + 110.0;80.0;10.0;80.0;10.0;10.0 + + + Relation + + 150 + 50 + 30 + 70 + + lt=<- + 10.0;50.0;10.0;10.0 + + + UMLSpecialState + + 150 + 40 + 20 + 20 + + type=initial + + + + UMLSpecialState + + 670 + 440 + 40 + 40 + + type=decision + + + + UMLState + + 620 + 300 + 150 + 90 + + This is the transaction that created the escrow. +style=wordwrap + + + + Relation + + 680 + 380 + 140 + 80 + + lt=<- +Is Sequence == 0? + 10.0;60.0;10.0;10.0 + + + Relation + + 570 + 440 + 120 + 120 + + lt=<- +r2=No + 10.0;100.0;10.0;20.0;100.0;20.0 + + + UMLState + + 710 + 540 + 170 + 80 + + Use this transaction's TicketSequence number to finish or cancel the escrow. +style=wordwrap + + + + Relation + + 700 + 440 + 120 + 120 + + lt=<- +r2=Yes + 100.0;100.0;100.0;20.0;10.0;20.0 + + + Relation + + 690 + 610 + 130 + 100 + + lt=<- + 10.0;80.0;110.0;80.0;110.0;10.0 + +