I'm trying to setup a Bitcoin Core watch-only wallet using importmulti and a sh(multi(m,xpub1/*,...,xpubn/*)) ranged descriptor, and then use deriveaddresses to get receiving addresses.

Is it possible to import only BIP-67-compliant addresses somehow? With a ranged descriptor I can't manually order the multisig script pubkeys from my side as suggested in this abandoned PR because my client only touches the account xpubs.

I could manually inspect and skip addresses until I get ordered pubkeys, but that's really ugly and fragile.


No, the descriptors language currently doesn't support BIP67.

It would be easy to add a multi_bip67 or so to the language if there is a need for it.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.