mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-19 04:44:31 -05:00
189a13c063
319: Alice sweeps refunded funds into default wallet r=da-kami a=da-kami Alice's refund scenario starts with generating the temporary wallet from keys to claim the XMR which results in Alice' unloading the wallet. Alice then loads her original wallet to be able to handle more swaps. Since Alice is in the role of the long running daemon handling concurrent swaps, the operation to close, claim and re-open her default wallet must be atomic. This PR adds an additional step, that sweeps all the refunded XMR back into the default wallet. In order to ensure that this is possible, Alice has to ensure that the locked XMR got enough confirmations. These changes allow us to assert Alice's balance after refunding. Co-authored-by: Daniel Karzel <daniel@comit.network> |
||
---|---|---|
.. | ||
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 |