Merge #11753: clarify abortrescan rpc use

8b2c733 clarify abortrescan rpc use (Gregory Sanders)

Pull request description:

  `-rescan` during startup doesn't apply since RPC has not warmed up by that point

Tree-SHA512: 0b6738ed9429ca41edbfa23bb3e2da23bb16fed9e55c1803ab140b2efc49ef3295bb8b7eeb8c24df94204c5b3fb25d0d57cbc8d1be11856a5763c9fde71bceba
This commit is contained in:
Wladimir J. van der Laan 2017-11-29 12:19:48 +01:00 committed by Pasta
parent 151e9209cf
commit ff20819773
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984

View File

@ -166,7 +166,7 @@ UniValue abortrescan(const JSONRPCRequest& request)
if (request.fHelp || request.params.size() > 0) if (request.fHelp || request.params.size() > 0)
throw std::runtime_error( throw std::runtime_error(
"abortrescan\n" "abortrescan\n"
"\nStops current wallet rescan triggered e.g. by an importprivkey call.\n" "\nStops current wallet rescan triggered by an RPC call, e.g. by an importprivkey call.\n"
"\nExamples:\n" "\nExamples:\n"
"\nImport a private key\n" "\nImport a private key\n"
+ HelpExampleCli("importprivkey", "\"mykey\"") + + HelpExampleCli("importprivkey", "\"mykey\"") +