File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
1
RPC
2
2
---
3
3
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
5
5
hardened derivation. This does not apply when using the ` private ` parameter, which
6
6
matches the marker used when descriptor was generated or imported. Newly created
7
7
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.
11
12
For legacy wallets the ` hdkeypath ` field in ` getaddressinfo ` is unchanged,
12
13
nor is the serialization format of wallet dumps. (#26076 )
You can’t perform that action at this time.
0 commit comments