commit 118a3d0c590ee5da60a686d1bcb159a07e7bc5d7
parent aaf0a13e67da693ed538c280242432af18287658
Author: Sebastian <sebasjm@gmail.com>
Date: Tue, 28 Mar 2023 01:10:45 -0300
removing suspend state in withdrawal because is implicit that every pending/aborting can be suspended
Diffstat:
1 file changed, 7 insertions(+), 9 deletions(-)
diff --git a/design-documents/037-wallet-transactions-lifecycle.rst b/design-documents/037-wallet-transactions-lifecycle.rst
@@ -151,7 +151,7 @@ user. So special-casing this and testing this is IMO just not worth it.
and selected exchange to the bank (via the bank integration API).
* ``[processed-success] => pending(bank-confirming)``
- * ``[processed-error(bank-aborted)] => aborted(bank)``
+ * ``[processed-error(bank-aborted)] => aborted(bank-to-wallet)``
* ``pending(bank-confirming)``
@@ -170,16 +170,10 @@ user. So special-casing this and testing this is IMO just not worth it.
* ``pending(withdrawing-coins)``
- * ``[action:suspend] => suspended``
* ``[processed-success] => done``
- * ``[processed-kyc-required] => kyc-required``
-
-* ``suspended``
+ * ``[processed-kyc-required] => pending(kyc-required)``
- * ``[action:resume] => pending``
- * ``[action:abort] => aborted(after-wired)``
-
-* ``kyc-required``
+* ``pending(kyc-required)``
* ``[poll-success] => pending(withdrawing-coins)``
@@ -210,6 +204,10 @@ user. So special-casing this and testing this is IMO just not worth it.
Only once all coins were spent, the withdraw is fully removed.
+.. image:: ../transaction-withdrawal-states.svg
+ :width: 800
+
+
Transaction Type: Payment to Merchant
-------------------------------------