diff options
author | Florian Dold <florian@dold.me> | 2023-02-16 20:06:20 +0100 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2023-02-16 20:06:20 +0100 |
commit | 7a35e8575907ec7cd120721d6a6ffbbd5fedcba3 (patch) | |
tree | fcf69b7127298e10947bdbc7654393a2060f10ae /design-documents | |
parent | d1aecb3344e5ade5ca10f483a51eb58b0203c7f2 (diff) | |
download | docs-7a35e8575907ec7cd120721d6a6ffbbd5fedcba3.tar.gz docs-7a35e8575907ec7cd120721d6a6ffbbd5fedcba3.tar.bz2 docs-7a35e8575907ec7cd120721d6a6ffbbd5fedcba3.zip |
more transitions
Diffstat (limited to 'design-documents')
-rw-r--r-- | design-documents/037-wallet-transactions-lifecycle.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/design-documents/037-wallet-transactions-lifecycle.rst b/design-documents/037-wallet-transactions-lifecycle.rst index a79f7d75..c499c28b 100644 --- a/design-documents/037-wallet-transactions-lifecycle.rst +++ b/design-documents/037-wallet-transactions-lifecycle.rst @@ -143,6 +143,8 @@ 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? * ``aborting(delete-purse)`` @@ -156,8 +158,9 @@ States and transitions: * ``aborting(refresh)`` - * ``[processed] => aborted)``: Aborting was successful, money was reclaimed - * ``[action:give-up] => failed``: XXX will this abort the refresh session? + * ``[processed-success] => aborted)``: Refresh group finished. Aborting was successful, money was reclaimed + * ``[processed-failed] => failed)``: Refresh group failed to complete with a permanent error. + * ``[action:give-up] => failed``: XXX will this abort the refresh session or just orphan it? * ``done`` |