Skip to content

descriptors: represent multiple derivation paths within one descriptor #17190

@achow101

Description

@achow101

It would be useful to express a full wallet of external and change scripts derived from the same xpub as one descriptor. Currently this requires two different descriptors where most of the descriptor is the same but only the derivation path at the end is different. So instead, one descriptor could contain multiple derivation paths following the xpub.

I propose that we could use {} to contain the multiple derivation paths, separated by ,. So it would look something like:

xpub...{0,1}/*

Thoughts?

cc @sipa

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions