xmr-btc-swap/swap/src/bin
Daniel Karzel 818147a629
swap_setup instead of spot_price and execution_setup
Having `spot_price` and `execution_setup` as separate protocols did not bring any advantages, but was problematic because we had to ensure that `execution_setup` would be triggered after `spot_price`. Because of this dependency it is better to combine the protocols into one.

Combining the protocols also allows a refactoring to get rid of the `libp2p-async-await` dependency.

Alice always listens for the `swap_setup` protocol. When Bob opens a substream on that protocol the spot price is communicated, and then all execution setup messages (swap-id and signature exchange).
2021-06-28 10:04:07 +10:00
..
asb.rs swap_setup instead of spot_price and execution_setup 2021-06-28 10:04:07 +10:00
kraken_ticker.rs Make kraken module emit PriceUpdates instead of Rates 2021-04-06 16:16:56 +10:00
swap.rs swap_setup instead of spot_price and execution_setup 2021-06-28 10:04:07 +10:00