xmr-btc-swap/swap/src
Daniel Karzel 164de3c524 Properly calculate the confirmations for Bitcoin tx
Once the transaction was included into a block it has one confirmation - before inclusion it has zero.
current-block-height - transaction-block-height = zero; but that means one confirmation.
Hence, the confirmation calculation was adapted to: Current-block-height - (transaction-block-height - 1).
2021-02-19 17:09:53 +11:00
..
bin Add sync wallet on nectar's startup 2021-02-17 10:56:39 +11:00
bitcoin Properly calculate the confirmations for Bitcoin tx 2021-02-19 17:09:53 +11:00
cli Test URL creation for default electrum HTTP API 2021-02-16 15:13:45 +11:00
database Only pass btc amount to CLI 2021-02-15 16:20:34 +11:00
monero Add functionality to open monero wallet through rpc 2021-02-09 16:34:50 +11:00
nectar Replace bitcoind wallet with bdk wallet 2021-02-16 14:04:52 +11:00
network Remove unnecessary mention of Tor in comment 2021-02-15 10:12:08 +11:00
protocol Merge #200 2021-02-17 05:00:39 +00:00
bitcoin.rs Remove stale code 2021-02-16 15:13:45 +11:00
cli.rs Move cli specific modules under cli folder 2021-02-11 10:34:44 +11:00
database.rs Top to bottom pub mod then mod then pub use then use (incl. use crate and use self) 2021-01-21 19:10:51 +11:00
execution_params.rs Avoid possible mix up between timelocks 2021-02-15 16:20:31 +11:00
fs.rs Use correct default data directory 2021-02-02 20:36:58 +11:00
lib.rs Remove unnecessary pub qualifier 2021-02-15 16:20:34 +11:00
monero.rs Introduced from float API for Monero quantities 2021-02-10 16:42:54 +11:00
nectar.rs Add nectar binary 2021-02-11 15:24:38 +11:00
network.rs Top to bottom pub mod then mod then pub use then use (incl. use crate and use self) 2021-01-21 19:10:51 +11:00
protocol.rs Remove unused structs 2021-02-15 16:20:34 +11:00
seed.rs Derive bitcoin private key from seed 2021-02-16 14:57:12 +11:00
serde_peer_id.rs Bob peer id can be retrieved from the DB 2021-01-22 17:19:20 +11:00
trace.rs Upgrade tokio to 1.0 2021-01-29 11:36:10 +11:00