Document -signblockscript and -fedpegscript in daemon help

This commit is contained in:
Jorge Timón 2017-05-03 00:46:42 +02:00
parent 2ba053f7af
commit b663091dcc
No known key found for this signature in database
GPG key ID: 8866C18EA1C944A2

View file

@ -403,6 +403,8 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage += HelpMessageOpt("-uacomment=<cmt>", _("Append comment to the user agent string"));
if (showDebug)
{
strUsage += HelpMessageOpt("-signblockscript=<hex>", _("Change chain to be signed and validated with a different script.") +
" " + _(" This creates a new chain with a different genesis block."));
strUsage += HelpMessageOpt("-checkblockindex", strprintf("Do a full consistency check for mapBlockIndex, setBlockIndexCandidates, chainActive and mapBlocksUnlinked occasionally. Also sets -checkmempool (default: %u)", defaultChainParams->DefaultConsistencyChecks()));
strUsage += HelpMessageOpt("-checkmempool=<n>", strprintf("Run checks every <n> transactions (default: %u)", defaultChainParams->DefaultConsistencyChecks()));
strUsage += HelpMessageOpt("-checkpoints", strprintf("Disable expensive verification for known chain history (default: %u)", DEFAULT_CHECKPOINTS_ENABLED));
@ -483,6 +485,10 @@ std::string HelpMessage(HelpMessageMode mode)
}
strUsage += HelpMessageGroup(_("Federated peg options:"));
if (showDebug) {
strUsage += HelpMessageOpt("-fedpegscript=<hex>", _("Change federated peg to use a different script.") +
" " + _("This creates a new chain with a different genesis block."));
}
strUsage += HelpMessageOpt("-validatepegin", strprintf(_("Validate pegin claims. All functionaries must run this. (default: %u)"), DEFAULT_VALIDATE_PEGIN));
return strUsage;