Skip to content

Commit

Permalink
sequence diagram: update
Browse files Browse the repository at this point in the history
  • Loading branch information
zkao committed Jul 11, 2022
1 parent b49eb02 commit 99e153f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/sequencediagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/sequencediagram.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ m_swap -> m_wallet : Ctl Hello
m_farcasterd -> m_farcasterd:launch syncer
m_farcasterd -> m_swap : Ctl MakeSwap

m_swap->m_syncer:If Bob, Ctl EstimateFee (btc)
m_swap -> peerd : Msg MakerCommit
t_swap <- peerd : Msg MakerCommit
// TODO: verify that swapd launches no matter what
Expand All @@ -62,7 +63,6 @@ t_wallet -> t_swap : Ctl RevealProof (taker is sender)
t_swap -> peerd : Msg RevealProof (taker is sender)
t_swap -> peerd : Msg Reveal (taker is sender)
peerd -> m_swap : Msg RevealProof (taker is sender)
m_swap->m_syncer:If Bob, Ctl EstimateFee (btc)
m_swap -> m_wallet : if Alice, Msg RevealProof (taker is sender)
m_swap -> m_swap : if Bob, ADD PENDING Msg RevealProof
peerd -> m_swap : Msg Reveal (taker is sender)
Expand Down

0 comments on commit 99e153f

Please sign in to comment.