Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/rpcwallet.cpp
Show First 20 Lines • Show All 3,999 Lines • ▼ Show 20 Lines | if (request.fHelp || request.params.size() > 2) { | ||||
"rescanblockchain", | "rescanblockchain", | ||||
"\nRescan the local blockchain for wallet related transactions.\n", | "\nRescan the local blockchain for wallet related transactions.\n", | ||||
{ | { | ||||
{"start_height", RPCArg::Type::NUM, /* opt */ true, | {"start_height", RPCArg::Type::NUM, /* opt */ true, | ||||
/* default_val */ "", | /* default_val */ "", | ||||
"block height where the rescan should start"}, | "block height where the rescan should start"}, | ||||
{"stop_height", RPCArg::Type::NUM, /* opt */ true, | {"stop_height", RPCArg::Type::NUM, /* opt */ true, | ||||
/* default_val */ "", | /* default_val */ "", | ||||
"the last block height that should be scanned"}, | "the last block height that should be scanned. If none is " | ||||
"provided it will rescan up to the tip at return time of this " | |||||
"call."}, | |||||
}, | }, | ||||
RPCResult{"{\n" | RPCResult{"{\n" | ||||
" \"start_height\" (numeric) The block height where " | " \"start_height\" (numeric) The block height where " | ||||
"the rescan started (the requested height or 0\n" | "the rescan started (the requested height or 0\n" | ||||
" \"stop_height\" (numeric) The height of the last " | " \"stop_height\" (numeric) The height of the last " | ||||
"rescanned block. May be null in rare cases if there was " | "rescanned block. May be null in rare cases if there was " | ||||
"a reorg and the call didn't scan any blocks because " | "a reorg and the call didn't scan any blocks because " | ||||
"they were already scanned in the background.\n" | "they were already scanned in the background.\n" | ||||
▲ Show 20 Lines • Show All 910 Lines • Show Last 20 Lines |