This adds support for a descriptor-specific 8-character checksum.
Descriptors may optionally be suffixed with a #
plus these 8 checksum characters. Any descriptor that contains a #
at the end must be followed by a valid checksum. If the #
is missing entirely, it is valid without checksum.
All RPCs are updated to report descriptors that include the checksum. On input, they are optional except in deriveaddress
and importmulti
, which require descriptors which include a checksum.
A new RPC is also added to analyse descriptors (getdescriptorinfo
), which can be used to compute the checksum for a descriptor without.