mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-10-01 01:45:40 -04:00
958e5b12bc
There is no point in first checking for the expired timelocks and then constructing a `select!` that also watches for the timelock to expiry. We can simply only have the select! invocation to achieve the same effect. In case the timelock is already expired, this future will resolve immediately. Normally, the polling order of `select!` is pseudo-random. We configure it to be _biased_ here to make sure the futures are polled in order. |
||
---|---|---|
.. | ||
asb | ||
bin | ||
bitcoin | ||
cli | ||
database | ||
monero | ||
network | ||
protocol | ||
asb.rs | ||
bitcoin.rs | ||
cli.rs | ||
database.rs | ||
env.rs | ||
fs.rs | ||
kraken.rs | ||
lib.rs | ||
monero_ext.rs | ||
monero.rs | ||
network.rs | ||
protocol.rs | ||
seed.rs | ||
trace.rs |