mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-19 13:27:35 +02:00
Document -signblockscript and -fedpegscript in daemon help
This commit is contained in:
parent
2ba053f7af
commit
b663091dcc
1 changed files with 6 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue