gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated: purse state machine


From: gnunet
Subject: [taler-docs] branch master updated: purse state machine
Date: Mon, 19 Apr 2021 14:50:14 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository docs.

The following commit(s) were added to refs/heads/master by this push:
     new 5e1be48  purse state machine
5e1be48 is described below

commit 5e1be48814d87374dcd1fecbeab57071ed278fd6
Author: Florian Dold <florian@dold.me>
AuthorDate: Mon Apr 19 14:50:09 2021 +0200

    purse state machine
---
 design-documents/013-peer-to-peer-payments.rst | 27 ++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/design-documents/013-peer-to-peer-payments.rst 
b/design-documents/013-peer-to-peer-payments.rst
index 5797a72..1724605 100644
--- a/design-documents/013-peer-to-peer-payments.rst
+++ b/design-documents/013-peer-to-peer-payments.rst
@@ -269,6 +269,33 @@ Cross-exchange payment offer:
   Dave's exchange receives the wad, and credits Dave's account with the money.
 
 
+State machine for Purses
+------------------------
+
+.. code-block:: none
+
+   // The "OPEN" starte state requires funding
+   // the purse either from an account or from
+   // a coin.
+   -> OPEN
+
+   // "Filled" means that it is filled with as many coins
+   // as indicated in the creation request.
+   OPEN -> FILLED
+
+   // Canceled, all coins put into the purse are refunded
+   FILLED -> CLOSED_REFUNDED
+
+   // Sent via a wad to a different exchange
+   FILLED -> PENDING_WAD
+
+   // The associated wad transfer succeeded.
+   PENDING_WAD -> CLOSED_WAD
+
+   // Merged into an account at the same exchange
+   FILLED -> CLOSED_MERGE
+
+
 Additional considerations
 -------------------------
 

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]