MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / ReadRegTestArgs

Function ReadRegTestArgs

src/chainparams.cpp:118–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void ReadRegTestArgs(const ArgsManager& args, CChainParams::RegTestOptions& options)
119{
120 if (auto value = args.GetBoolArg("-fastprune")) options.fastprune = *value;
121 if (HasTestOption(args, "bip94")) options.enforce_bip94 = true;
122
123 HandleDeploymentArgs(args, options.dep_opts);
124}
125
126static std::unique_ptr<const CChainParams> globalChainParams;
127

Callers 1

CreateChainParamsFunction · 0.85

Calls 3

HasTestOptionFunction · 0.85
HandleDeploymentArgsFunction · 0.85
GetBoolArgMethod · 0.80

Tested by

no test coverage detected