|
|
@ -101,7 +101,6 @@ static const Checkpoints::CCheckpointData dataRegtest = {
|
|
|
|
class CMainParams : public CChainParams {
|
|
|
|
class CMainParams : public CChainParams {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
CMainParams() {
|
|
|
|
CMainParams() {
|
|
|
|
networkID = CBaseChainParams::MAIN;
|
|
|
|
|
|
|
|
strNetworkID = "main";
|
|
|
|
strNetworkID = "main";
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* The message start string is designed to be unlikely to occur in normal data.
|
|
|
|
* The message start string is designed to be unlikely to occur in normal data.
|
|
|
@ -190,7 +189,6 @@ static CMainParams mainParams;
|
|
|
|
class CTestNetParams : public CMainParams {
|
|
|
|
class CTestNetParams : public CMainParams {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
CTestNetParams() {
|
|
|
|
CTestNetParams() {
|
|
|
|
networkID = CBaseChainParams::TESTNET;
|
|
|
|
|
|
|
|
strNetworkID = "test";
|
|
|
|
strNetworkID = "test";
|
|
|
|
pchMessageStart[0] = 0x0b;
|
|
|
|
pchMessageStart[0] = 0x0b;
|
|
|
|
pchMessageStart[1] = 0x11;
|
|
|
|
pchMessageStart[1] = 0x11;
|
|
|
@ -247,7 +245,6 @@ static CTestNetParams testNetParams;
|
|
|
|
class CRegTestParams : public CTestNetParams {
|
|
|
|
class CRegTestParams : public CTestNetParams {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
CRegTestParams() {
|
|
|
|
CRegTestParams() {
|
|
|
|
networkID = CBaseChainParams::REGTEST;
|
|
|
|
|
|
|
|
strNetworkID = "regtest";
|
|
|
|
strNetworkID = "regtest";
|
|
|
|
pchMessageStart[0] = 0xfa;
|
|
|
|
pchMessageStart[0] = 0xfa;
|
|
|
|
pchMessageStart[1] = 0xbf;
|
|
|
|
pchMessageStart[1] = 0xbf;
|
|
|
@ -292,7 +289,6 @@ static CRegTestParams regTestParams;
|
|
|
|
class CUnitTestParams : public CMainParams, public CModifiableParams {
|
|
|
|
class CUnitTestParams : public CMainParams, public CModifiableParams {
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
CUnitTestParams() {
|
|
|
|
CUnitTestParams() {
|
|
|
|
networkID = CBaseChainParams::UNITTEST;
|
|
|
|
|
|
|
|
strNetworkID = "unittest";
|
|
|
|
strNetworkID = "unittest";
|
|
|
|
nDefaultPort = 18445;
|
|
|
|
nDefaultPort = 18445;
|
|
|
|
vFixedSeeds.clear(); //! Unit test mode doesn't have any fixed seeds.
|
|
|
|
vFixedSeeds.clear(); //! Unit test mode doesn't have any fixed seeds.
|
|
|
|