mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
bfc19d5628
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). |
||
---|---|---|
.. | ||
behaviour.rs | ||
encrypted_signature.rs | ||
event_loop.rs | ||
execution_setup.rs | ||
state.rs | ||
steps.rs | ||
swap_response.rs | ||
swap.rs | ||
transfer_proof.rs |