mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-31 15:20:15 +00:00
1c47b32681
bmrng is a library providing a request-response channel that allows the receiving end of the channel to send a response back to the sender. This allows us to more accurately implement the functions on the `EventLoopHandle`. In particular, we now _wait_ for the ACK of specific messages from the other party before resolving the future. For example, when sending the encrypted signature, the async function on the `EventLoopHandle` does not resolve until we received the ACK from the other party. We also delete the `Channels` abstraction in favor of directly creating bmrng channels. This allows us to directly control the channel buffer which we set to 1 because we don't need more than that on Bob's side. |
||
---|---|---|
.. | ||
src | ||
tests | ||
Cargo.toml |