mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 18:09:47 +01:00
829 B
829 B
RPC
- The
listdescriptors
,decodepsbt
and similar RPC methods now showh
rather than apostrophe ('
) to indicate hardened derivation. This does not apply when using theprivate
parameter, which matches the marker used when descriptor was generated or imported. Newly created wallets useh
. This change makes it easier to handle descriptor strings manually. E.g. theimportdescriptors
RPC call is easiest to useh
as the marker:'["desc": ".../0h/..."]'
. With this changelistdescriptors
will useh
, so you can copy-paste the result, without having to add escape characters or switch'
to 'h' manually. Note that this changes the descriptor checksum. For legacy wallets thehdkeypath
field ingetaddressinfo
is unchanged, nor is the serialization format of wallet dumps. (#26076)