delvingbitcoin

Unspendable keys in descriptors

Unspendable keys in descriptors

Original Postby andrewtoth

Posted on: December 4, 2024 14:33 UTC

The discussion revolves around the specific use and restrictions of extended public keys (xpubs) within wallet policies and descriptors.

There is an initial expectation for users to utilize the same xpub with various 'endings' to delineate different spending paths, such as xpub/<0;1>/*. However, a clarification has been made, setting a limitation on this practice by restricting it solely to the usage of xpub//* for any derivation path. This signifies a departure from allowing optional or alternative derivation paths, which were previously considered.

Furthermore, the conversation touches upon the handling of key expressions within descriptors that do not involve xpubs. Given the new stipulation, there's an implication that non-xpub key expressions might either be disallowed or require specific considerations in their application, although the exact approach towards these expressions remains undecided.

The introduction of this restriction imposes a direct impact on how descriptors and wallet policies are designed and implemented, marking a significant change. It mandates that only the xpub//* format can be utilized in these contexts, effectively standardizing the implementation protocol across the board. This development represents a notable shift in policy, necessitating adjustments for those involved in the creation and management of digital wallets and related technologies.