xmr-btc-swap/xmr-btc
Lucas Soriano del Pino 7d307e581a Fail the swap early if Bitcoin TxLock is never published
This helps distinguish between the case where the refund timelock is
reached before the bitcoin is locked and the case where the refund
timelock is reached after the bitcoin is locked and before Alice sends
over the transfer proof for locking up the monero. In the first case
we can abort without doing anything, but in the second case we must
instruct the caller to refund the bitcoin.
2020-10-16 11:26:17 +11:00
..
src Fail the swap early if Bitcoin TxLock is never published 2020-10-16 11:26:17 +11:00
tests Make ReceiveTransferProof async and take &mut self 2020-10-16 10:55:13 +11:00
Cargo.toml Trigger refund if the publication of Monero TxLock takes too long 2020-10-15 21:22:31 +11:00