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
Merge #15122: [RPC] Expand help text for importmulti changes
b745e14 [docs] Expand help text for importmulti changes (John Newbery)
Pull request description:
Expands the RPC help text for changes to the importmulti RPC method.
Tree-SHA512: e90e5abf66bba3863e7519b5f79c26d18a4d624e6e7878293bdd4ebb57f1a01c67de52e4a5621901a8cb87fb3516264b3b1a826997c7c3c17b11216f1f1a3db0
if (mainRequest.fHelp || mainRequest.params.size() < 1 || mainRequest.params.size() > 2)
1149
1149
throwstd::runtime_error(
1150
1150
RPCHelpMan{"importmulti",
1151
-
"\nImport addresses/scripts (with private or public keys, redeem script (P2SH)), rescanning all addresses in one-shot-only (rescan can be disabled via options). Requires a new wallet backup.\n",
1151
+
"\nImport addresses/scripts (with private or public keys, redeem script (P2SH)), optionally rescanning the blockchain from the earliest creation time of the imported scripts. Requires a new wallet backup.\n"
1152
+
"If an address/script is imported without all of the private keys required to spend from that address, it will be watchonly. The 'watchonly' option must be set to true in this case or a warning will be returned.\n"
1153
+
"Conversely, if all the private keys are provided and the address/script is spendable, the watchonly option must be set to false, or a warning will be returned.\n",
1152
1154
{
1153
1155
{"requests", RPCArg::Type::ARR, /* opt */false, /* default_val */"", "Data to be imported",
{"internal", RPCArg::Type::BOOL, /* opt */true, /* default_val */"false", "Stating whether matching outputs should be treated as not incoming payments (also known as change)"},
1181
-
{"watchonly", RPCArg::Type::BOOL, /* opt */true, /* default_val */"false", "Stating whether matching outputs should be considered watched even when not all private keys are provided."},
1183
+
{"watchonly", RPCArg::Type::BOOL, /* opt */true, /* default_val */"false", "Stating whether matching outputs should be considered watchonly."},
1182
1184
{"label", RPCArg::Type::STR, /* opt */true, /* default_val */"''", "Label to assign to the address, only allowed with internal=false"},
0 commit comments