Add commandline flag to set genesis block script destination

This commit is contained in:
Andrew Poelstra 2015-09-30 12:55:34 -05:00
parent 2843d418a4
commit da45c44fc3
5 changed files with 64 additions and 31 deletions

View file

@ -346,6 +346,8 @@ std::string HelpMessage(HelpMessageMode mode)
strUsage += " -gen " + strprintf(_("Generate coins (default: %u)"), 0) + "\n";
strUsage += " -genproclimit=<n> " + strprintf(_("Set the number of threads for coin generation if enabled (-1 = all cores, default: %d)"), 1) + "\n";
#endif
strUsage += " -genesisscriptdestination " + _("Set the scriptPubKey used when signing blocks. This is intended for testing, "
"as changing it forks the node off of the network") + "\n";
strUsage += " -help-debug " + _("Show all debugging options (usage: --help -help-debug)") + "\n";
strUsage += " -logips " + strprintf(_("Include IP addresses in debug output (default: %u)"), 0) + "\n";
strUsage += " -logtimestamps " + strprintf(_("Prepend debug output with timestamp (default: %u)"), 1) + "\n";