Skip to content
Permalink
Browse files

add cycle dialog

  • Loading branch information...
zeroleak committed Jun 17, 2019
1 parent 589550f commit 462b261b9c7818dc50ce83b4adc5e9977b427a22
Showing with 37 additions and 0 deletions.
  1. +3 −0 ARCHITECTURE.md
  2. +34 −0 charts/dialog.md
  3. BIN charts/dialog.png
@@ -20,3 +20,6 @@ Whirlpool is modular:

![](charts/architecture.png)


## III. Cycle dialog
![](charts/dialog.png)
@@ -0,0 +1,34 @@
sequenceDiagram
Note over Client,Server: << WEBSOCKET >>

Note left of Client: Connecting...
Client->>+Server: subscribe pool
Server -->>-Client: SubscribePoolResponse

Note left of Client: Waiting for a mix...
Note over Client,Server: ... A new mix starts!
Server-->>Client: ConfirmInputMixStatusNotification

Note left of Client: Trying to join a mix...
Client->>+Server: ConfirmInputRequest
Server -->>-Client: ConfirmInputResponse
Note left of Client: Joined a mix!

Note over Client,Server: ... Anonymity set reached!

Server -->>+Client: RegisterOutputMixStatusNotification
Note left of Client: Registering output...

Note over Client / alt. identity,Server: << REST >> from alternate identity
Client / alt. identity->>-Server: RegisterOutputRequest
Note left of Client: Registered output

Note over Client,Server: ... All outputs registered!

Server -->>+Client: SigningMixStatusNotification
Note left of Client: Signing...
Client->>-Server: SigningRequest
Note left of Client: Signed

Note over Client,Server: ... All signed!
Server -->>+Client: SuccessMixStatusNotification
BIN +158 KB charts/dialog.png
Binary file not shown.

0 comments on commit 462b261

Please sign in to comment.
You can’t perform that action at this time.