mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
750 B
13 lines
750 B
2 years ago
|
RPC
|
||
|
---
|
||
|
|
||
|
- The `listdescriptors` RPC now shows `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.
|
||
|
For legacy wallets the `hdkeypath` field in `getaddressinfo` is unchanged,
|
||
|
nor is the serialization format of wallet dumps. (#26076)
|