xmr-btc-swap/swap/src
Daniel Karzel 529de8d5fd
ASB aborts if CLI does not lock BTC
Includes a new state that is used to await BTC lock tx finality. Upon starting the swap we initially only wait for the BTC lock tx to be seen in the mempool.
This is guarded by a short timeout (3 mins), because it is assumed that in the current setup (sport_price + execution_setup only triggered upon funds being available already) the lock transaction should be picked up almost instanly after the execution setup succeeded.
2021-06-23 17:54:42 +10:00
..
asb Merge patterns of nested match 2021-06-21 11:22:45 +10:00
bin Upgrade to Rust 1.53 2021-06-21 11:56:04 +10:00
bitcoin Bump bdk from 0.7.0 to 0.8.0 2021-06-21 11:16:45 +10:00
cli Use or-pattern stabilized in Rust 1.53 where possible 2021-06-21 11:57:21 +10:00
database ASB aborts if CLI does not lock BTC 2021-06-23 17:54:42 +10:00
monero Support armv7 architecture for monero-wallet-rpc. 2021-05-21 17:55:04 +10:00
network Use or-pattern stabilized in Rust 1.53 where possible 2021-06-21 11:57:21 +10:00
protocol ASB aborts if CLI does not lock BTC 2021-06-23 17:54:42 +10:00
asb.rs Refactor transports to construct them specific for each application 2021-06-21 09:01:19 +10:00
bitcoin.rs Make it easier to create a bitcoin::Wallet for testing 2021-05-28 15:26:19 +10:00
cli.rs Refactor transports to construct them specific for each application 2021-06-21 09:01:19 +10:00
database.rs Save Alice's peer-id in the db for Bob 2021-04-01 16:06:48 +11:00
env.rs ASB aborts if CLI does not lock BTC 2021-06-23 17:54:42 +10:00
fs.rs Improve logging by adding details as fields instead of into the msg. 2021-05-11 15:27:53 +10:00
kraken.rs Always log whole causality chain for errors. 2021-05-11 15:27:53 +10:00
lib.rs Add support for swapping through Tor. 2021-04-27 14:51:41 +10:00
monero_ext.rs Upgrade to bdk 4.0 2021-02-19 15:18:37 +11:00
monero.rs Network check upon spot price request 2021-05-20 13:03:29 +10:00
network.rs Network protocol tests for spot_price behaviour 2021-05-07 15:00:29 +10:00
protocol.rs Dynamically chose fee for TxCancel. 2021-05-07 10:24:41 +10:00
seed.rs Derive Tor secret key from seed. 2021-04-27 16:39:32 +10:00
tor.rs Remove dead code 2021-06-22 17:06:21 +10:00