mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-11-28 11:40:42 -05:00
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. |
||
|---|---|---|
| .. | ||
| testutils | ||
| bob_refunds_using_cancel_and_refund_command.rs | ||
| bob_refunds_using_cancel_and_refund_command_timelock_not_expired.rs | ||
| bob_refunds_using_cancel_and_refund_command_timelock_not_expired_force.rs | ||
| happy_path.rs | ||
| happy_path_restart_bob.rs | ||
| punish.rs | ||