summaryrefslogtreecommitdiff
path: root/design-documents
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2023-02-16 21:20:25 +0100
committerFlorian Dold <florian@dold.me>2023-02-16 21:20:25 +0100
commitdd1c2b2ed3fcbb0023741eb36853df43576d5b36 (patch)
treee9602f16373b657538b478804dfb111cf5c9e54d /design-documents
parent9227c39b417f741f4b4332bec2bb0787d8379477 (diff)
downloaddocs-dd1c2b2ed3fcbb0023741eb36853df43576d5b36.tar.gz
docs-dd1c2b2ed3fcbb0023741eb36853df43576d5b36.tar.bz2
docs-dd1c2b2ed3fcbb0023741eb36853df43576d5b36.zip
incorporate feedback
Diffstat (limited to 'design-documents')
-rw-r--r--design-documents/037-wallet-transactions-lifecycle.rst9
1 files changed, 3 insertions, 6 deletions
diff --git a/design-documents/037-wallet-transactions-lifecycle.rst b/design-documents/037-wallet-transactions-lifecycle.rst
index b1ce626d..94de1667 100644
--- a/design-documents/037-wallet-transactions-lifecycle.rst
+++ b/design-documents/037-wallet-transactions-lifecycle.rst
@@ -143,16 +143,13 @@ States and transitions:
* ``[action:abort] => aborting(delete-purse)``: The user aborts the P2P payment. The wallet tries to reclaim money in the purse.
* ``[purse-timeout] => aborting(refresh)``: The other party was too slow.
* ``[poll-success] => done``: The other party has accepted the payment.
- * ``[poll-error] => ??``: The exchange claims that there is a permanent error regarding the purse. XXX: Do we continue
- retrying? What do we do?
+ * ``[poll-error] => aborting(refresh)``: The exchange claims that there is a permanent error regarding the purse.
* ``aborting(delete-purse)``
* ``[processed-success] => aborting(refresh)``: The purse was deleted successfully, and refunded coins must be refreshed.
- * ``[processed-failed] => ...``: Permanent failure when trying to delete the reserve.
-
- * If purse is already merged: ``=> done``
- * Otherwise: ``=> failed`` XXX: Do we still try to refresh?
+ * ``[processed-failed(already-merged)] => done``: The other party claimed the funds faster that we were able to abort.
+ * ``[processed-failed(other)] => aborting(refresh)``: The exchange reports a permanent error. We still try to refresh.
* ``[action:abort-force] => failed``