Skip to content

Commit 833ce76

Browse files
committed
rpc, wallet: Document mempool rescan after importdescriptor, importwallet
1 parent 0e396d1 commit 833ce76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/wallet/rpc/backup.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ RPCHelpMan importwallet()
489489
{
490490
return RPCHelpMan{"importwallet",
491491
"\nImports keys from a wallet dump file (see dumpwallet). Requires a new wallet backup to include imported keys.\n"
492-
"Note: Use \"getwalletinfo\" to query the scanning progress.\n",
492+
"Note: Blockchain and Mempool will be rescanned after a successful import. Use \"getwalletinfo\" to query the scanning progress.\n",
493493
{
494494
{"filename", RPCArg::Type::STR, RPCArg::Optional::NO, "The wallet file"},
495495
},
@@ -1600,7 +1600,7 @@ RPCHelpMan importdescriptors()
16001600
" Use the string \"now\" to substitute the current synced blockchain time.\n"
16011601
" \"now\" can be specified to bypass scanning, for outputs which are known to never have been used, and\n"
16021602
" 0 can be specified to scan the entire blockchain. Blocks up to 2 hours before the earliest timestamp\n"
1603-
" of all descriptors being imported will be scanned.",
1603+
"of all descriptors being imported will be scanned as well as the mempool.",
16041604
/*oneline_description=*/"", {"timestamp | \"now\"", "integer / string"}
16051605
},
16061606
{"internal", RPCArg::Type::BOOL, RPCArg::Default{false}, "Whether matching outputs should be treated as not incoming payments (e.g. change)"},

0 commit comments

Comments
 (0)