-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PsbtInputExt::update_with_descriptor
This populates all relevant fields in a PSBT input according to a descriptor. Includes previously not yet implemented logic for populating bip32_derivation and tap_key_origins. I renamed "PsbtExt::update_desc" to "PsbtExt::update_input_with_descriptor" which uses the same logic as update_with_descriptor internally but additionally does some sanity checks. I removed scanning logic for update_desc because you can do it with find_derivation_index_for_spk.
- Loading branch information
Showing
3 changed files
with
527 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.