xmr-btc-swap/swap/src/protocol/alice
Franck Royer bfc19d5628
Remove acknowledgements processing
We are aware of issues of timeouts when waiting for acknowledgements.
Also, to properly supports acks in a multiple swap context, we need to
revert to doing event processing on the behaviour so that we can link
leverage the `RequestResponse` libp2p behaviour and link the messages
requests ids to swap ids when receiving an ack or response.

Acks are usefully for specific scenarios where we queue a message on the
behaviour to be sent, save as sent in the DB but crash before the
message is actually sent. With acks we are able to resume the swap,
without ack, the swap will abort (refund).
2021-02-10 16:42:55 +11:00
..
behaviour.rs Process execution setup failure similarly to other failures 2021-02-10 16:42:54 +11:00
encrypted_signature.rs Use event_process = false for Alice 2021-02-08 09:16:29 +11:00
event_loop.rs Remove acknowledgements processing 2021-02-10 16:42:55 +11:00
execution_setup.rs Process execution setup failure similarly to other failures 2021-02-10 16:42:54 +11:00
state.rs Remove possible mix up of timelocks when using State0::new 2021-02-10 16:42:53 +11:00
steps.rs Remove acknowledgements processing 2021-02-10 16:42:55 +11:00
swap_response.rs Use event_process = false for Alice 2021-02-08 09:16:29 +11:00
swap.rs Remove acknowledgements processing 2021-02-10 16:42:55 +11:00
transfer_proof.rs Use event_process = false for Alice 2021-02-08 09:16:29 +11:00