diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-02-16 21:05:38 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2019-02-16 21:39:32 +0100 |
commit | f60d029a2a768b082e75ed98c92429e56f58974d (patch) | |
tree | 13ea371c289352c96f5f762aa4d50f0fcb6ced92 /contrib/zmq | |
parent | d5b929c813ff3d7d93bf4e3164b34e10eeb63801 (diff) | |
parent | fd637be8d21a606e98c037b40b268c4a1fae2244 (diff) | |
download | bitcoin-f60d029a2a768b082e75ed98c92429e56f58974d.tar.xz |
Merge #15368: Descriptor checksums
fd637be8d21a606e98c037b40b268c4a1fae2244 Add checksums to descriptors.md (Pieter Wuille)
be62903c417293f6217e124669e62fd2172a18f1 Make descriptor checksums mandatory in deriveaddresses and importmulti (Pieter Wuille)
b52cb6368869c9f6dd2cd8f309b3000de514d439 Add getdescriptorinfo to compute checksum (Pieter Wuille)
3b40bff9880e9ae2817136b7d14989afccfc1937 Descriptor checksum (Pieter Wuille)
Pull request description:
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.
Tree-SHA512: a8294b09155eb6c67fbc178b5e2d3fbc0e9bec8b6de57a13f8835550d51c2cb32a428b3c9a188ded42b454d594e9305edbd4797906b755de77a8f33c79165f6b
Diffstat (limited to 'contrib/zmq')
0 files changed, 0 insertions, 0 deletions