Skip to content

Commit 0e396d1

Browse files
committed
rpc, wallet: Document mempool scan after importmulti
1 parent e6d3ef8 commit 0e396d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wallet/rpc/backup.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,8 @@ RPCHelpMan importmulti()
12551255
"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"
12561256
"\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n"
12571257
"may report that the imported keys, addresses or scripts exist but related transactions are still missing.\n"
1258+
"The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n"
1259+
"but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n"
12581260
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
12591261
{
12601262
{"requests", RPCArg::Type::ARR, RPCArg::Optional::NO, "Data to be imported",
@@ -1296,7 +1298,7 @@ RPCHelpMan importmulti()
12961298
"\"requests\""},
12971299
{"options", RPCArg::Type::OBJ, RPCArg::Optional::OMITTED_NAMED_ARG, "",
12981300
{
1299-
{"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Stating if should rescan the blockchain after all imports"},
1301+
{"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Scan the chain and mempool for wallet transactions after all imports."},
13001302
},
13011303
"\"options\""},
13021304
},

0 commit comments

Comments
 (0)