You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rpc: Have deriveaddresses derive receiving and change
When given a multipath descriptor, derive all of the descriptors.
The derived addresses will be returned in an object
consisting of multiple arrays. For compatibility, when given a single path
descriptor, the addresses are provided in a single array as before.
" tr(<pubkey>,multi_a(<n>,<pubkey>,<pubkey>,...)) P2TR-multisig outputs for the given threshold and pubkeys\n"
235
269
"\nIn the above, <pubkey> either refers to a fixed public key in hexadecimal notation, or to an xpub/xprv optionally followed by one\n"
236
270
"or more path elements separated by \"/\", where \"h\" represents a hardened child key.\n"
237
-
"For more information on output descriptors, see the documentation in the doc/descriptors.md file.\n"
238
-
"Note that only descriptors that specify a single derivation path can be derived.\n"},
271
+
"For more information on output descriptors, see the documentation in the doc/descriptors.md file.\n"},
239
272
{
240
273
{"descriptor", RPCArg::Type::STR, RPCArg::Optional::NO, "The descriptor."},
241
274
{"range", RPCArg::Type::RANGE, RPCArg::Optional::OMITTED, "If a ranged descriptor is used, this specifies the end or the range (in [begin,end] notation) to derive."},
242
275
},
243
-
RPCResult{
244
-
RPCResult::Type::ARR, "", "",
245
-
{
246
-
{RPCResult::Type::STR, "address", "the derived addresses"},
247
-
}
276
+
{
277
+
RPCResult{"for single derivation descriptors",
278
+
RPCResult::Type::ARR, "", "",
279
+
{
280
+
{RPCResult::Type::STR, "address", "the derived addresses"},
281
+
}
282
+
},
283
+
RPCResult{"for multipath descriptors",
284
+
RPCResult::Type::ARR, "", "The derived addresses for each of the multipath expansions of the descriptor, in multipath specifier order",
285
+
{
286
+
{
287
+
RPCResult::Type::ARR, "", "The derived addresses for a multipath descriptor expansion",
288
+
{
289
+
{RPCResult::Type::STR, "address", "the derived address"},
0 commit comments