tcharding / rust-psbt

Partially Signed Bitcoin Transactions
Creative Commons Zero v1.0 Universal
13 stars 6 forks source link

Re-import PSBTv0 code from `rust-bitcoin` and `rust-miniscript` #23

Closed tcharding closed 8 months ago

tcharding commented 8 months ago

We would like the PSBTv0 code to be as close as possible to the code we originally imported from rust-bitcoin and rust-miniscript. This gives us a few things:

Re-import the original code, make as few a changes as possible to get it to build. Use the same directory structure as the original, unlike what we did when we originally imported the code.

Note, this patch is not PSBTv2 compliant because deserialization of v0 PSBTs does not fail for excluded map keys. That will be added in a subsequent patch.