revault / revault_tx

Script descriptors and transaction creation routines for Revault
BSD 3-Clause "New" or "Revised" License
15 stars 9 forks source link

Add xpub derivation paths to PSBT inputs #104

Closed darosior closed 3 years ago

darosior commented 3 years ago

This is an alternative to #96 which modifies the public key type used in derived descriptors to also comport information about the key source instead of taking a mapping directly through the public API. This is IMO much less of a breakage and much cleaner as less footguny. This however adds an assumption on the derived descriptors.

Happy to bikeshed!

Fixes #54 Closes #96

edouardparis commented 3 years ago

Seems cool, the new DerivedPublicKey is clean untestedACK b4afbd2051289464655ea4a2de3eab462460e822