xmr-btc-swap/swap/src
Thomas Eizinger 52b9a78de2
Alice to validate Bob's PSBT for correctness
In order for the re-construction of TxLock to be meaningful, we limit
`Message2` to the PSBT instead of the full struct. This is a breaking
change in the network layer.

The PSBT is valid if:

- It has at most two outputs (we allow a change output)
- One of the outputs pays the agreed upon amount to a shared output script

Resolves #260.
2021-03-30 13:02:56 +11:00
..
asb Say who we are in the --help message 2021-03-26 14:31:14 +11:00
bin Merge #370 2021-03-24 05:03:19 +00:00
bitcoin Alice to validate Bob's PSBT for correctness 2021-03-30 13:02:56 +11:00
cli Say who we are in the --help message 2021-03-26 14:31:14 +11:00
database Introduce dedicated bob::State6 for cancelling 2021-03-18 15:45:57 +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 Alice to validate Bob's PSBT for correctness 2021-03-30 13:02:56 +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 Make sure all error messages start with an uppercase letter 2021-03-05 15:49:15 +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