diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-05-14 02:15:32 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-05-14 02:15:32 +0200 |
commit | 19e2c2430d971ecc3e3d673a4273e9d1048e6000 (patch) | |
tree | 67c7ba39722c67daf4643608f5a61e3953a94810 /articles/ui/figs/contract.pml | |
parent | a8e2d108e4295abcb0dc79e1b4f774cc04f8c93d (diff) | |
download | wallet-core-19e2c2430d971ecc3e3d673a4273e9d1048e6000.tar.xz |
diagrams
Diffstat (limited to 'articles/ui/figs/contract.pml')
-rw-r--r-- | articles/ui/figs/contract.pml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/articles/ui/figs/contract.pml b/articles/ui/figs/contract.pml new file mode 100644 index 000000000..74bf23dd6 --- /dev/null +++ b/articles/ui/figs/contract.pml @@ -0,0 +1,31 @@ + +@startuml + +hide footbox + +box "User" + Participant "Wallet" as W + Participant "Browser" as U +end box + +box "Merchant" + Participant "Storefront" as S + Participant "Backend" as B +end box + +autonumber + +S -> B : proposed contract +B -> S : signed contract + +S -> U : custom (HTTP(S)) + +U -> W : signed contract +W -> U : signed coins + +U -> S : custom (HTTP(S)) + +S -> B : signed coins (HTTP(S)) +B -> S : confirmation (HTTP(S)) + +@enduml |