mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-04-29 23:09:44 -04:00
doc: clarify PR 26076 release note
This commit is contained in:
parent
bd13dc2f46
commit
fe49f06c0e
1 changed files with 5 additions and 4 deletions
|
@ -1,12 +1,13 @@
|
||||||
RPC
|
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
|
hardened derivation. This does not apply when using the `private` parameter, which
|
||||||
matches the marker used when descriptor was generated or imported. Newly created
|
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.
|
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/..."]'.
|
E.g. the `importdescriptors` RPC call is easiest to use `h` as the marker: `'["desc": ".../0h/..."]'`.
|
||||||
Either `h` or `'` can still be used when providing a descriptor to e.g. `getdescriptorinfo`
|
With this change `listdescriptors` will use `h`, so you can copy-paste the result,
|
||||||
or `importdescriptors`. Note that this choice changes the descriptor checksum.
|
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,
|
For legacy wallets the `hdkeypath` field in `getaddressinfo` is unchanged,
|
||||||
nor is the serialization format of wallet dumps. (#26076)
|
nor is the serialization format of wallet dumps. (#26076)
|
||||||
|
|
Loading…
Add table
Reference in a new issue