Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 678 Lines • ▼ Show 20 Lines | gArgs.AddArg("-zmqpubrawtx=<address>", | ||||
OptionsCategory::ZMQ); | OptionsCategory::ZMQ); | ||||
#endif | #endif | ||||
gArgs.AddArg( | gArgs.AddArg( | ||||
"-checkblocks=<n>", | "-checkblocks=<n>", | ||||
strprintf("How many blocks to check at startup (default: %u, 0 = all)", | strprintf("How many blocks to check at startup (default: %u, 0 = all)", | ||||
DEFAULT_CHECKBLOCKS), | DEFAULT_CHECKBLOCKS), | ||||
true, OptionsCategory::DEBUG_TEST); | true, OptionsCategory::DEBUG_TEST); | ||||
gArgs.AddArg("-checklevel=<n>", | gArgs.AddArg( | ||||
"-checklevel=<n>", | |||||
strprintf("How thorough the block verification of " | strprintf("How thorough the block verification of " | ||||
"-checkblocks is (0-4, default: %u)", | "-checkblocks is: " | ||||
"level 0 reads the blocks from disk, " | |||||
"level 1 verifies block validity, " | |||||
"level 2 verifies undo data, " | |||||
"level 3 checks disconnection of tip blocks, " | |||||
"and level 4 tries to reconnect the blocks. " | |||||
"Each level includes the checks of the previous levels " | |||||
nakihito: I edited this line a little bit for grammar. | |||||
"(0-4, default: %u)", | |||||
DEFAULT_CHECKLEVEL), | DEFAULT_CHECKLEVEL), | ||||
true, OptionsCategory::DEBUG_TEST); | true, OptionsCategory::DEBUG_TEST); | ||||
gArgs.AddArg("-checkblockindex", | gArgs.AddArg("-checkblockindex", | ||||
strprintf("Do a full consistency check for mapBlockIndex, " | strprintf("Do a full consistency check for mapBlockIndex, " | ||||
"setBlockIndexCandidates, chainActive and " | "setBlockIndexCandidates, chainActive and " | ||||
"mapBlocksUnlinked occasionally. (default: %u)", | "mapBlocksUnlinked occasionally. (default: %u)", | ||||
defaultChainParams->DefaultConsistencyChecks()), | defaultChainParams->DefaultConsistencyChecks()), | ||||
true, OptionsCategory::DEBUG_TEST); | true, OptionsCategory::DEBUG_TEST); | ||||
gArgs.AddArg("-checkmempool=<n>", | gArgs.AddArg("-checkmempool=<n>", | ||||
strprintf("Run checks every <n> transactions (default: %u)", | strprintf("Run checks every <n> transactions (default: %u)", | ||||
▲ Show 20 Lines • Show All 1,814 Lines • Show Last 20 Lines |
I edited this line a little bit for grammar.