1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

380: Clarify optionality of descriptor checksum

Parsers must handle checksum optionality, but applications can choose to
reject descriptors that don't have a checksum.
This commit is contained in:
Andrew Chow 2023-02-10 13:01:53 -05:00
parent 30c88a4bec
commit 272e1f5efc

View File

@ -49,6 +49,7 @@ Lastly, the use of common terminology and existing standards allow for Output Sc
Descriptors consist of several types of expressions. Descriptors consist of several types of expressions.
The top level expression is a <tt>SCRIPT</tt>. The top level expression is a <tt>SCRIPT</tt>.
This expression may be followed by <tt>#CHECKSUM</tt>, where <tt>CHECKSUM</tt> is an 8 character alphanumeric descriptor checksum. This expression may be followed by <tt>#CHECKSUM</tt>, where <tt>CHECKSUM</tt> is an 8 character alphanumeric descriptor checksum.
Although the checksum is optional for parsing, applications may choose to reject descriptors that do not contain a checksum.
===Script Expressions=== ===Script Expressions===