You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: bip-bod-descriptors.mediawiki
+7-7
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ software).</ref>
42
42
<ref> '''Why not use the older Blockchain Commons BCR-2020-010 format?'''
43
43
The format was [[https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-010-output-desc.md#deprecated-superseded-by-version-3-output-descriptors|recently deprecated]],
44
44
due to its use of reserved CBOR tags.</ref>
45
-
<ref>'''Why not use the new Blockchain Commons BCR-2023-010 format?'''.
45
+
<ref>'''Why not use the new Blockchain Commons BCR-2023-010 format?'''
46
46
The [[https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2023-010-output-descriptor.md|BCR-2023-010 format]]
47
47
is roughly equivalent to this proposal, but was designed and released outside of
48
48
the usual BIP proposal process.
@@ -60,8 +60,8 @@ support at the time of this writing.</ref>.
60
60
==Specification==
61
61
62
62
The Binary Output Descriptor (BOD) format consists of a fixed header, a
63
-
key-value map describing the output descriptor and its metadata followed by a
64
-
map for each key referenced by the descriptor.
63
+
key-value map describing the output descriptor, and a key-value map for
64
+
each key.
65
65
66
66
<bod> := <magic> <global-map> <key-map>*
67
67
<magic> := 0x62 0x6F 0x64 0xFF
@@ -86,13 +86,13 @@ The defined global types are as follows:
86
86
| The earliest block height that may contain transactions for the descriptor, optionally followed by the UTF-8 encoded name of the descriptor.
87
87
| <tt><bytes descriptor></tt>
88
88
| The output descriptor in BIP 380 format without inline keys<ref>''Why not encode the descriptor in binary?'''
89
-
The BIP 380 descriptor language is complicated and expanding, and we believe
90
-
the effort of designing a parallel binary encoding does not outweigh the
91
-
space savings.
89
+
Designing and maintaining a compact binary representation of the complex and evolving BIP 380 descriptor
90
+
language entail significant effort and introduce a time lag from the introduction of new BIP 380 features
91
+
to the spcification of the binary counterpart. We don't believe the space savings outweigh the disadvantages.
92
92
93
93
The major source of bloat, base58-encoded keys, are binary encoded for compactness and
94
94
can be re-used multiple times in a single descriptor.
0 commit comments