Changeset View
Changeset View
Standalone View
Standalone View
src/init.cpp
Show First 20 Lines • Show All 467 Lines • ▼ Show 20 Lines | gArgs.AddArg( | ||||
"-prune=<n>", | "-prune=<n>", | ||||
strprintf("Reduce storage requirements by enabling pruning (deleting) " | strprintf("Reduce storage requirements by enabling pruning (deleting) " | ||||
"of old blocks. This allows the pruneblockchain RPC to be " | "of old blocks. This allows the pruneblockchain RPC to be " | ||||
"called to delete specific blocks, and enables automatic " | "called to delete specific blocks, and enables automatic " | ||||
"pruning of old blocks if a target size in MiB is provided. " | "pruning of old blocks if a target size in MiB is provided. " | ||||
"This mode is incompatible with -txindex and -rescan. " | "This mode is incompatible with -txindex and -rescan. " | ||||
"Warning: Reverting this setting requires re-downloading the " | "Warning: Reverting this setting requires re-downloading the " | ||||
"entire blockchain. (default: 0 = disable pruning blocks, 1 " | "entire blockchain. (default: 0 = disable pruning blocks, 1 " | ||||
"= allow manual pruning via RPC, >%u = automatically prune " | "= allow manual pruning via RPC, >=%u = automatically prune " | ||||
"block files to stay under the specified target size in MiB)", | "block files to stay under the specified target size in MiB)", | ||||
MIN_DISK_SPACE_FOR_BLOCK_FILES / 1024 / 1024), | MIN_DISK_SPACE_FOR_BLOCK_FILES / 1024 / 1024), | ||||
false, OptionsCategory::OPTIONS); | false, OptionsCategory::OPTIONS); | ||||
gArgs.AddArg("-reindex-chainstate", | gArgs.AddArg("-reindex-chainstate", | ||||
"Rebuild chain state from the currently indexed blocks. When " | "Rebuild chain state from the currently indexed blocks. When " | ||||
"in pruning mode or if blocks on disk might be corrupted, use " | "in pruning mode or if blocks on disk might be corrupted, use " | ||||
"full -reindex instead.", | "full -reindex instead.", | ||||
false, OptionsCategory::OPTIONS); | false, OptionsCategory::OPTIONS); | ||||
▲ Show 20 Lines • Show All 2,001 Lines • Show Last 20 Lines |