| 116 | } |
| 117 | |
| 118 | void 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 | |
| 126 | static std::unique_ptr<const CChainParams> globalChainParams; |
| 127 |
no test coverage detected