BIP-139: define the bip388 account descriptor as [keys, policy] #2367

pull pythcoiner wants to merge 1 commits into bitcoin:master from pythcoiner:139_388 changing 2 files +25 −3
  1. pythcoiner commented at 5:13 AM on November 25, 2026: contributor

    A bip388 account descriptor was said to be a string, but a BIP-388 wallet policy is a descriptor template plus a vector of key information, which one string does not hold. It is now stored as a two-element array: the key information expressions, then the template, with an example from BIP-388.

  2. BIP-139: define the bip388 account descriptor as [keys, policy]
    A bip388 account descriptor was said to be a string, but a BIP-388 wallet policy is a descriptor template plus a vector of key information, which one string does not hold. Store it as a two-element array: the key information expressions, then the template, with an example from BIP-388.
    59a78f7ad4
  3. jonatack added the label BIP Update by Owner on Nov 30, 2026
  4. in bip-0139/field-registry.md:65 in 59a78f7ad4
      59 | @@ -60,7 +60,9 @@ Fields of the [account object][accountobj].
      60 |  |                    |          |                 | Structure for the permitted values.            |
      61 |  |--------------------|----------|-----------------|------------------------------------------------|
      62 |  | descriptor         |          | string/array    | Account descriptor. Its structure is defined   |
      63 | -|                    |          |                 | by `type`. See Account Object Structure.       |
      64 | +|                    |          |                 | by `type`: a string, an array of strings for   |
      65 | +|                    |          |                 | `multi_bip380`, or `[keys, policy]` for        |
      66 | +|                    |          |                 | `bip388`. See Account Object Structure.        |
    


    jonatack commented at 11:16 PM on December 2, 2026:

    In this file in Key Fields, proof_of_registration specifies:

    Pairs of [descriptor, proof] for this key. Both are strings; the proof is lowercase hexadecimal.

    For a BIP388 account, should the first element be the compiled BIP380 multipath descriptor string, or should it also allow [keys, policy]?


    jonatack commented at 11:18 PM on December 2, 2026:

    Also in this file, in Device object, descriptor_checksum specifies:

    Checksum of the descriptor that registered applies to.

    Since BIP388 does not define a checksum on wallet policies, is this computed over the compiled BIP380 descriptor, or unused for BIP388?

  5. jonatack commented at 11:19 PM on December 2, 2026: member

    LGTM with two questions for here or a follow-up

  6. jonatack added the label PR Author action required on Dec 2, 2026

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bips. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-12-03 17:10 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me