xmr-btc-swap/swap
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
..
src Alice to validate Bob's PSBT for correctness 2021-03-30 13:02:56 +11:00
tests Rename testutils to harness 2021-03-30 12:59:34 +11:00
Cargo.toml Alice to validate Bob's PSBT for correctness 2021-03-30 13:02:56 +11:00