Skip to content

Commit 710fe83

Browse files
committed
bip-bod-descriptors: add proprietary fields
1 parent e483f82 commit 710fe83

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

bip-bod-descriptors.mediawiki

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,13 @@ space savings.
9393
The major source of bloat, base58 encoded keys, are binary encoded for compactness and
9494
can be re-used multiple times in a single descriptor.
9595
.</ref>
96+
|-
97+
| Proprietary Use Type
98+
| <tt>BOD_GLOBAL_PROPRIETARY = 0xFC</tt>
99+
| <tt><compact size uint identifier length> <bytes identifier> <compact size uint subtype> <bytes subkeydata></tt>
100+
| Compact size unsigned integer of the length of the identifier, followed by identifier prefix, followed by a compact size unsigned integer subtype, followed by the key data itself.
101+
| <tt><bytes data></tt>
102+
| Any value data as defined by the proprietary type user.
96103
|}
97104
98105
It is an error to omit the BOD_GLOBAL_OUTPUT_DESCRIPTOR entry.
@@ -128,6 +135,13 @@ The defined key types are as follows:
128135
| The 78 byte serialized extended public key as defined by BIP 32.
129136
| <tt><4 byte fingerprint> <32-bit little endian uint path element>*</tt>
130137
| The master key fingerprint as defined by BIP 32 concatenated with the derivation path of the public key. The derivation path is represented as 32-bit little endian unsigned integer indexes concatenated with each other. The number of 32 bit unsigned integer indexes must match the depth provided in the extended public key.
138+
|-
139+
| Proprietary Use Type
140+
| <tt>BOD_KEY_PROPRIETARY = 0xFC</tt>
141+
| <tt><compact size uint identifier length> <bytes identifier> <compact size uint subtype> <bytes subkeydata></tt>
142+
| Compact size unsigned integer of the length of the identifier, followed by identifier prefix, followed by a compact size unsigned integer subtype, followed by the key data itself.
143+
| <tt><bytes data></tt>
144+
| Any value data as defined by the proprietary type user.
131145
|}
132146
133147
==Test Vectors==

0 commit comments

Comments
 (0)