lbrycrd/src/rpc
Wladimir J. van der Laan f60d029a2a
Merge #15368: Descriptor checksums
fd637be8d2 Add checksums to descriptors.md (Pieter Wuille)
be62903c41 Make descriptor checksums mandatory in deriveaddresses and importmulti (Pieter Wuille)
b52cb63688 Add getdescriptorinfo to compute checksum (Pieter Wuille)
3b40bff988 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
2019-02-16 21:39:32 +01:00
..
blockchain.cpp RPCHelpMan: Check default values are given at compile-time 2019-02-11 08:40:10 -05:00
blockchain.h rpc: Remove cs_main lock from blockToJSON and blockHeaderToJSON 2018-09-09 18:02:24 +01:00
client.cpp Implement joinpsbts RPC and tests 2019-02-16 00:04:27 -05:00
client.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
mining.cpp Merge #15383: [rpc] mining: Omit uninitialized currentblockweight, currentblocktx 2019-02-15 08:57:50 -05:00
mining.h Move ParseConfirmTarget from rpc/mining to rpc/util 2019-02-08 15:29:45 -05:00
misc.cpp Make descriptor checksums mandatory in deriveaddresses and importmulti 2019-02-15 22:36:05 -08:00
net.cpp RPCHelpMan: Check default values are given at compile-time 2019-02-11 08:40:10 -05:00
protocol.cpp scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
protocol.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
rawtransaction.cpp Merge #13932: Additional utility RPCs for PSBT 2019-02-16 20:45:03 +01:00
rawtransaction.h Pass chain and client variables where needed 2018-11-06 11:44:40 -04:00
register.h Update copyright headers to 2018 2018-07-27 07:15:02 -04:00
server.cpp RPCHelpMan: Check default values are given at compile-time 2019-02-11 08:40:10 -05:00
server.h convert C-style (void) parameter lists to C++ style () 2018-09-13 10:36:41 -07:00
util.cpp Merge #14978: Factor out PSBT utilities from RPCs for use in GUI code; related refactoring. 2019-02-14 21:49:01 +13:00
util.h Merge #14978: Factor out PSBT utilities from RPCs for use in GUI code; related refactoring. 2019-02-14 21:49:01 +13:00