If Alice fails to lock her Monero on the first try, she will not try again.
There are a number of reasons the locking could fail:
- Insufficient funds due to multiple swaps being started concurrently. One of which locks all the funds before the second one gets to.
- Network errors (
no connection to daemon, is common during syncing)
We should retry continously until the cancel timelock expires.
https://github.com/UnstoppableSwap/core/blob/4867d2713f5cdcc2aa282760ad88c12b17daf487/swap/src/protocol/alice/swap.rs#L113-L132
If Alice fails to lock her Monero on the first try, she will not try again.
There are a number of reasons the locking could fail:
no connection to daemon, is common during syncing)We should retry continously until the cancel timelock expires.
https://github.com/UnstoppableSwap/core/blob/4867d2713f5cdcc2aa282760ad88c12b17daf487/swap/src/protocol/alice/swap.rs#L113-L132