Bitcoin Development Mailinglist
 help / color / mirror / Atom feed
* [bitcoindev] [BIP draft] Unspendable Internal Keys for Wallet Policies
@ 2026-09-09 18:41 '2099999997690000' via Bitcoin Development Mailing List
  2026-09-11  4:16 ` 'duncan0k' via Bitcoin Development Mailing List
  0 siblings, 1 reply; 2+ messages in thread
From: '2099999997690000' via Bitcoin Development Mailing List @ 2026-09-09 18:41 UTC (permalink / raw)
  To: bitcoindev@googlegroups.com

[-- Attachment #1: Type: text/plain, Size: 1732 bytes --]

Hi all,

Resending with the correct subject; the proposal is unchanged. Apologies for the duplicate.

Pursuant to the discussions about standardizing an unspendable NUMS key for an script path only taproot policy https://delvingbitcoin.org/t/unspendable-keys-in-descriptors/304 and https://github.com/bitcoin/bips/pull/1746 ; we undertook the issue with these guiding principles:

- We don't police adherence to other bips except when they directly affect the issue at hand.
- We use the already in place mechanisms in other bips.
- We don't claim semantic canonicalization of the script and only normalize the policy to some opinionated extent.

The gist is, we define _​ as a placeholder for the unspendable NUMS key. We sort keys inside musig(...) and sortedmulti_a. We sort sibling pairs of the tree. If there is multipath extension, we add the same length tuple to the _​ so that we don't fall to reuse. Then we pull the keys out and us @i​ placeholders and hash the whole thing consisting of the normalized descriptor and the keys. That would be the chain code for the H​ defined in BIP 341.

The details can be found here:
https://github.com/bitryonix/bips/blob/bip-xxxx-unspendable-internal-keys/bip-xxxx-unspendable-internal-keys.mediawiki

Best,NTL

-- 
You received this message because you are subscribed to the Google Groups "Bitcoin Development Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bitcoindev+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/bitcoindev/ToQA7AIlDQoaVhHUgpy0MjUEy5FYvYQL1d1Lr_xgmIpEcjYBhuT2JkEDNddmPa-qgIziEzHcGS9bHreVXUHLaSqDTjQtREHXkchtjphDbxQ%3D%40proton.me.

[-- Attachment #2: Type: text/html, Size: 3578 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-14 20:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-09 18:41 [bitcoindev] [BIP draft] Unspendable Internal Keys for Wallet Policies '2099999997690000' via Bitcoin Development Mailing List
2026-09-11  4:16 ` 'duncan0k' via Bitcoin Development Mailing List

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox