BIP Proposal: Receiving and Change Derivation Paths in a Single Descriptor



Summary:

A new Bitcoin Improvement Proposal (BIP) has been proposed by Andrew Chow that aims to simplify the representation of descriptors for receiving and change addresses. The proposal allows descriptors to have a single derivation path element that specifies a pair of indexes so that parsers would then expand these into two almost identical descriptors with the difference being that the first uses the first of the pair of indexes, and the second uses the second. This also works for descriptors involving multiple keys where the first element in every pair is used for the first descriptor and the second element of each pair in the second descriptor. The full text of the BIP can be found on GitHub, and an implementation of it to Bitcoin Core is available at GitHub as well. The common use case for this is to represent descriptors for producing receiving and change addresses. Pavol Rusnak clarified whether triplets can also work or if only tuples of exactly two values are supported.


Updated on: 2023-06-15T23:30:56.656003+00:00