MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / SetupChainParamsBaseOptions

Function SetupChainParamsBaseOptions

src/chainparamsbase.cpp:18–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16const std::string CBaseChainParams::REGTEST = "regtest";
17
18void SetupChainParamsBaseOptions()
19{
20 gArgs.AddArg("-regtest", "Enter regression test mode, which uses a special chain in which blocks can be solved instantly. "
21 "This is intended for regression testing tools and app development.", true, OptionsCategory::CHAINPARAMS);
22 gArgs.AddArg("-testnet", "Use the test chain", false, OptionsCategory::CHAINPARAMS);
23}
24
25static std::unique_ptr<CBaseChainParams> globalChainBaseParams;
26

Callers 3

SetupBitcoinTxArgsFunction · 0.85
SetupCliArgsFunction · 0.85
SetupServerArgsFunction · 0.85

Calls 1

AddArgMethod · 0.80

Tested by

no test coverage detected