bdk icon indicating copy to clipboard operation
bdk copied to clipboard

Add additional information to `Policy` structure

Open notmandatory opened this issue 2 years ago • 1 comments

As discussed in #594 if we can somehow add the below information to the Policy structure it would be more useful in displaying the general signing conditions for a Descriptor to users.

  • signing xkey checksums
  • signing xkey origin (master key fingerprint and derivation path), if available
  • script type (ie. sh(), wsh(), sh(wsh), tr(), etc.)

notmandatory avatar May 03 '22 16:05 notmandatory

I'm not sure this necessarily has to play a role, but thought it was at least worth raising and having for the record this recent discussion from the ledger team on the developer mailing list about a "wallet policy" extension for descriptors:

https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2022-May/020423.html

bucko13 avatar May 11 '22 16:05 bucko13