diff options
author | Sjors Provoost <sjors@sprovoost.nl> | 2023-05-08 16:07:15 +0200 |
---|---|---|
committer | Sjors Provoost <sjors@sprovoost.nl> | 2023-05-08 16:07:15 +0200 |
commit | fe49f06c0e91b96feb8d8f1bd478c3173f14782c (patch) | |
tree | 58639d22f423775cbc15b61fa8d8ab38ba8fb2d3 /doc/release-notes-26076.md | |
parent | bd13dc2f46ea10302a928fcf0f53b7aed77ad260 (diff) |
doc: clarify PR 26076 release note
Diffstat (limited to 'doc/release-notes-26076.md')
-rw-r--r-- | doc/release-notes-26076.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/release-notes-26076.md b/doc/release-notes-26076.md index a39affdae7..f95e4be0e3 100644 --- a/doc/release-notes-26076.md +++ b/doc/release-notes-26076.md @@ -1,12 +1,13 @@ RPC --- -- The `listdescriptors` RPC now shows `h` rather than apostrophe (`'`) to indicate +- The `listdescriptors`, `decodepsbt` and similar RPC methods now show `h` rather than apostrophe (`'`) to indicate hardened derivation. This does not apply when using the `private` parameter, which matches the marker used when descriptor was generated or imported. Newly created wallets use `h`. This change makes it easier to handle descriptor strings manually. - E.g. an RPC call that takes an array of descriptors can now use '["desc": ".../0h/..."]'. - Either `h` or `'` can still be used when providing a descriptor to e.g. `getdescriptorinfo` - or `importdescriptors`. Note that this choice changes the descriptor checksum. + E.g. the `importdescriptors` RPC call is easiest to use `h` as the marker: `'["desc": ".../0h/..."]'`. + With this change `listdescriptors` will use `h`, 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 the `hdkeypath` field in `getaddressinfo` is unchanged, nor is the serialization format of wallet dumps. (#26076) |