-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
waddrmgr: extract script hash into identity closure
As a preparation for when the identifier of a script isn't the hash of a script in every case anymore, we extract that part out of the importScriptAddress method and rename it. Pay-to-Taproot script addresses use the x-only coordinates of a tweaked public key as the address identifier.
- Loading branch information
Showing
1 changed file
with
38 additions
and
26 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