diff options
author | Fabian Jahr <fjahr@protonmail.com> | 2022-05-01 19:45:32 +0200 |
---|---|---|
committer | Fabian Jahr <fjahr@protonmail.com> | 2022-07-03 21:06:49 +0200 |
commit | e6d3ef85867545a5a66a211e35e818e8a1b166fa (patch) | |
tree | 620cbf5a258b5207b8e86dc2e332a70e4e9a812d /src/wallet/rpc | |
parent | 6d3db52e667474b6c0c2e4eeb9fb5b3ba4063205 (diff) | |
download | bitcoin-e6d3ef85867545a5a66a211e35e818e8a1b166fa.tar.xz |
rpc, wallet: Document mempool scan after importpubkey
Diffstat (limited to 'src/wallet/rpc')
-rw-r--r-- | src/wallet/rpc/backup.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/wallet/rpc/backup.cpp b/src/wallet/rpc/backup.cpp index 386c0e9050..0f058e45ed 100644 --- a/src/wallet/rpc/backup.cpp +++ b/src/wallet/rpc/backup.cpp @@ -404,11 +404,13 @@ RPCHelpMan importpubkey() "Hint: use importmulti to import more than one public key.\n" "\nNote: This call can take over an hour to complete if rescan is true, during that time, other rpc calls\n" "may report that the imported pubkey exists but related transactions are still missing, leading to temporarily incorrect/bogus balances and unspent outputs until rescan completes.\n" + "The rescan parameter can be set to false if the key was never used to create transactions. If it is set to false,\n" + "but the key was used to create transactions, rescanwallet needs to be called with the appropriate block range.\n" "Note: Use \"getwalletinfo\" to query the scanning progress.\n", { {"pubkey", RPCArg::Type::STR, RPCArg::Optional::NO, "The hex-encoded public key"}, {"label", RPCArg::Type::STR, RPCArg::Default{""}, "An optional label"}, - {"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Rescan the wallet for transactions"}, + {"rescan", RPCArg::Type::BOOL, RPCArg::Default{true}, "Scan the chain and mempool for wallet transactions."}, }, RPCResult{RPCResult::Type::NONE, "", ""}, RPCExamples{ |