Changeset View
Changeset View
Standalone View
Standalone View
src/chainparamsbase.cpp
Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
}; | }; | ||||
/* | /* | ||||
* Regression test | * Regression test | ||||
*/ | */ | ||||
class CBaseRegTestParams : public CBaseChainParams { | class CBaseRegTestParams : public CBaseChainParams { | ||||
public: | public: | ||||
CBaseRegTestParams() { | CBaseRegTestParams() { | ||||
nRPCPort = 18332; | nRPCPort = 18443; | ||||
strDataDir = "regtest"; | strDataDir = "regtest"; | ||||
} | } | ||||
}; | }; | ||||
static std::unique_ptr<CBaseChainParams> globalChainBaseParams; | static std::unique_ptr<CBaseChainParams> globalChainBaseParams; | ||||
const CBaseChainParams &BaseParams() { | const CBaseChainParams &BaseParams() { | ||||
assert(globalChainBaseParams); | assert(globalChainBaseParams); | ||||
Show All 20 Lines |