xmr-btc-swap/swap/src
Thomas Eizinger 3ad9516188
Reduce logging when signing transactions
1. We can generalize the signing interface by passing a PSBT in
instead of the `TxLock` transaction.
2. Knowing the transaction ID of a transaction that we are about
to sign is not very useful. Instead, it is much more useful to know
what failed. Hence we add a `.context` to the call of `sign_and_finalize`.
3. In case the signing succeeds, we will immediately broadcast it
afterwards. The new broadcasting interface will tell us that we broadcasted
the "lock" transaction.
2021-03-02 12:53:40 +11:00
..
asb Maximum sell amount for ASB that defaults to 0.5 XMR 2021-02-26 16:48:27 +11:00
bin Only show _log_ output if the user passes --debug 2021-03-02 09:50:17 +11:00
bitcoin Reduce logging when signing transactions 2021-03-02 12:53:40 +11:00
cli Only show _log_ output if the user passes --debug 2021-03-02 09:50:17 +11:00
database Remove Tx arguments from add_signatures functions 2021-02-26 14:36:58 +11:00
monero Tell the user about the monero-wallet-rpc download 2021-03-02 09:50:16 +11:00
network Remove unnecessary mention of Tor in comment 2021-02-15 10:12:08 +11:00
protocol Reduce logging when signing transactions 2021-03-02 12:53:40 +11:00
asb.rs Make LatestRate::Error require std::error::Error trait bound 2021-02-22 13:27:47 +11:00
bitcoin.rs Remove traits in favor of using the wallet struct directly 2021-03-02 12:22:23 +11:00
cli.rs Move cli specific modules under cli folder 2021-02-11 10:34:44 +11:00
database.rs Import anyhow::Result across the codebase 2021-02-22 13:26:56 +11:00
execution_params.rs Avoid possible mix up between timelocks 2021-02-15 16:20:31 +11:00
fs.rs Import anyhow::Result across the codebase 2021-02-22 13:26:56 +11:00
lib.rs Merge #214 2021-02-22 00:39:19 +00:00
monero_ext.rs Upgrade to bdk 4.0 2021-02-19 15:18:37 +11:00
monero.rs Simplify Transfer::transfer return type 2021-03-02 09:49:30 +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 Only construct proof system once 2021-02-19 15:18:39 +11:00
seed.rs Demote / promote log messages to their appropriate level 2021-03-02 09:49:53 +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 Remove syncing wallet log 2021-02-26 14:36:57 +11:00