xmr-btc-swap/swap/tests/harness
Philipp Hoenisch ee90c228b4
Dynamically calculate fees using electrum's estimate_fee.
Electrum has an estimate-fee feature which takes as input the block you want a tx to be included.
The result is a recommendation of BTC/vbyte.
Using this recommendation and the knowledge about the size of our transactions we compute an appropriate fee.
The size of the transactions were taken from real transactions as published on bitcoin testnet.
Note: in reality these sizes might fluctuate a bit but not for much.
2021-05-07 10:24:41 +10:00
..
bitcoind.rs Dynamically chose fee for TxCancel. 2021-05-07 10:24:41 +10:00
electrs.rs Rename testutils to harness 2021-03-30 12:59:34 +11:00
mod.rs Dynamically calculate fees using electrum's estimate_fee. 2021-05-07 10:24:41 +10:00