Skip to content

Commit fe49f06

Browse files
committed
doc: clarify PR 26076 release note
1 parent bd13dc2 commit fe49f06

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doc/release-notes-26076.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
RPC
22
---
33

4-
- The `listdescriptors` RPC now shows `h` rather than apostrophe (`'`) to indicate
4+
- The `listdescriptors`, `decodepsbt` and similar RPC methods now show `h` rather than apostrophe (`'`) to indicate
55
hardened derivation. This does not apply when using the `private` parameter, which
66
matches the marker used when descriptor was generated or imported. Newly created
77
wallets use `h`. This change makes it easier to handle descriptor strings manually.
8-
E.g. an RPC call that takes an array of descriptors can now use '["desc": ".../0h/..."]'.
9-
Either `h` or `'` can still be used when providing a descriptor to e.g. `getdescriptorinfo`
10-
or `importdescriptors`. Note that this choice changes the descriptor checksum.
8+
E.g. the `importdescriptors` RPC call is easiest to use `h` as the marker: `'["desc": ".../0h/..."]'`.
9+
With this change `listdescriptors` will use `h`, so you can copy-paste the result,
10+
without having to add escape characters or switch `'` to 'h' manually.
11+
Note that this changes the descriptor checksum.
1112
For legacy wallets the `hdkeypath` field in `getaddressinfo` is unchanged,
1213
nor is the serialization format of wallet dumps. (#26076)

0 commit comments

Comments
 (0)