xmr-btc-swap/swap/src
Thomas Eizinger 1b2f476cae
Have --force flag only override the timelock check
It might very well be that the cancel transaction is already published.
If that is the case, there is no point in failing the command. We simply
transition to cancel and exit normally.

The reason this comes up now is because Alice now properly waits for
the cancel timelock as well and publishes the cancel transaction first.

Ultimately, she should not do that because there is no benefit to her
unless she can also publish the punish transaction.
2021-04-01 17:28:38 +11:00
..
asb Alice resumes swaps 2021-04-01 16:09:13 +11:00
bin Have --force flag only override the timelock check 2021-04-01 17:28:38 +11:00
bitcoin Alice to validate Bob's PSBT for correctness 2021-03-30 13:02:56 +11:00
cli Save Alice's peer-id in the db for Bob 2021-04-01 16:06:48 +11:00
database Await 10 confirmations of lock tx in refund 2021-04-01 16:03:38 +11:00
monero Merge #383 #385 #386 2021-03-29 22:31:43 +00:00
network Remove connection handling from swap execution 2021-03-24 15:17:54 +11:00
protocol Have --force flag only override the timelock check 2021-04-01 17:28:38 +11:00
asb.rs Provide stronger isolation of kraken module 2021-03-05 13:56:25 +11:00
bitcoin.rs Alice to validate Bob's PSBT for correctness 2021-03-30 13:02:56 +11:00
cli.rs Remove CLI config file in favour of parameters 2021-03-15 15:41:46 +11:00
database.rs Save Alice's peer-id in the db for Bob 2021-04-01 16:06:48 +11:00
env.rs Safely abort swap if TxLock is not confirmed in a reasonable time 2021-03-30 11:13:09 +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 Remove connection handling from swap execution 2021-03-24 15:17:54 +11:00
protocol.rs Alice to validate Bob's PSBT for correctness 2021-03-30 13:02:56 +11:00
seed.rs Seed should neither be Clone nor Copy 2021-03-24 11:39:39 +11:00
trace.rs Use tracing-log feature flag instead of manual initialization 2021-03-29 12:15:50 +11:00