xmr-btc-swap/swap/src
bors[bot] 189a13c063
Merge #319
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>
2021-03-22 05:12:49 +00:00
..
asb Update the application name for --version print 2021-03-18 12:24:10 +11:00
bin Alice sweeps refunded funds into default wallet 2021-03-18 17:59:48 +11:00
bitcoin Move more domain knowledge onto the TxCancel type 2021-03-18 15:44:37 +11:00
cli Update the application name for --version print 2021-03-18 12:24:10 +11:00
database Introduce dedicated bob::State6 for cancelling 2021-03-18 15:45:57 +11:00
monero Alice sweeps refunded funds into default wallet 2021-03-18 17:59:48 +11:00
network Introduce quote protocol and display it to the user before they fund 2021-03-04 16:26:27 +11:00
protocol Merge #319 2021-03-22 05:12:49 +00:00
asb.rs Provide stronger isolation of kraken module 2021-03-05 13:56:25 +11:00
bitcoin.rs Greatly reduce load onto the Electrum backend 2021-03-16 19:24:31 +11:00
cli.rs Remove CLI config file in favour of parameters 2021-03-15 15:41:46 +11:00
database.rs Make sure all error messages start with an uppercase letter 2021-03-05 15:49:15 +11:00
env.rs Make Monero and Bitcoin wallet use a generalized sync interval 2021-03-17 16:31:17 +11:00
fs.rs Import anyhow::Result across the codebase 2021-02-22 13:26:56 +11:00
kraken.rs Disable backoffs max_elapsed_time functionality 2021-03-11 13:33:46 +11:00
lib.rs Merge #321 2021-03-17 10:22:26 +00:00
monero_ext.rs Upgrade to bdk 4.0 2021-02-19 15:18:37 +11:00
monero.rs Simplify code within BobState::XmrLockProofReceived 2021-03-18 15:45:58 +11:00
network.rs Introduce quote protocol and display it to the user before they fund 2021-03-04 16:26:27 +11:00
protocol.rs Change imports_granularity to module 2021-03-04 14:48:13 +11:00
seed.rs Add context if we fail to compute extended private key 2021-03-05 15:49:16 +11:00
trace.rs Disable timestamp if we log to a non-interactive terminal 2021-03-17 11:41:28 +11:00