xmr-btc-swap/swap
Thomas Eizinger cde3f0f74a
Remove connection handling from swap execution
The swap should not be concerned with connection handling. This is
the responsibility of the overall application.

All but the execution-setup NetworkBehaviour are `request-response`
behaviours. These have built-in functionality to automatically emit
a dial attempt in case we are not connected at the time we want to
send a message. We remove all of the manual dialling code from the
swap in favor of this behaviour.

Additionally, we make sure to establish a connection as soon as the
EventLoop gets started. In case we ever loose the connection to Alice,
we try to re-establish it.
2021-03-24 15:17:54 +11:00
..
src Remove connection handling from swap execution 2021-03-24 15:17:54 +11:00
tests Remove connection handling from swap execution 2021-03-24 15:17:54 +11:00
Cargo.toml Bump dependency versions 2021-03-22 14:48:39 +11:00