| 30 | const TranslateFn G_TRANSLATION_FUN{nullptr}; |
| 31 | |
| 32 | static void SetupBitcoinUtilArgs(ArgsManager &argsman) |
| 33 | { |
| 34 | SetupHelpOptions(argsman); |
| 35 | |
| 36 | argsman.AddArg("-version", "Print version and exit", ArgsManager::ALLOW_ANY, OptionsCategory::OPTIONS); |
| 37 | |
| 38 | argsman.AddCommand("grind", "Perform proof of work on hex header string"); |
| 39 | argsman.AddCommand("netmagic", "Get the network magic bytes of the selected chain"); |
| 40 | |
| 41 | SetupChainParamsBaseOptions(argsman); |
| 42 | } |
| 43 | |
| 44 | // This function returns either one of EXIT_ codes when it's expected to stop the process or |
| 45 | // CONTINUE_EXECUTION when it's expected to continue further. |
no test coverage detected