mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-08-06 21:44:49 -04:00
Sweep all from generated wallet to user wallet
The default implementation for the command was removed because it does not add additional value if we have a mandatory parameter anyway.
This commit is contained in:
parent
5111a12706
commit
66c8401c95
9 changed files with 166 additions and 40 deletions
|
@ -91,8 +91,7 @@ mod testnet {
|
|||
|
||||
pub static BITCOIN_AVG_BLOCK_TIME: Lazy<Duration> = Lazy::new(|| Duration::from_secs(5 * 60));
|
||||
|
||||
// This does not reflect recommended values for mainnet!
|
||||
pub static MONERO_FINALITY_CONFIRMATIONS: u32 = 5;
|
||||
pub static MONERO_FINALITY_CONFIRMATIONS: u32 = 10;
|
||||
|
||||
// This does not reflect recommended values for mainnet!
|
||||
pub static BITCOIN_CANCEL_TIMELOCK: CancelTimelock = CancelTimelock::new(12);
|
||||
|
@ -109,7 +108,7 @@ mod regtest {
|
|||
|
||||
pub static BITCOIN_AVG_BLOCK_TIME: Lazy<Duration> = Lazy::new(|| Duration::from_secs(5));
|
||||
|
||||
pub static MONERO_FINALITY_CONFIRMATIONS: u32 = 1;
|
||||
pub static MONERO_FINALITY_CONFIRMATIONS: u32 = 10;
|
||||
|
||||
pub static BITCOIN_CANCEL_TIMELOCK: CancelTimelock = CancelTimelock::new(100);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue