aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@jtimon.cc>2014-11-06 17:59:46 +0100
committerjtimon <jtimon@jtimon.cc>2014-12-11 23:32:30 +0100
commiteb0d34b494e36af01d4636c69e6570943fb30f1c (patch)
treed1e4db69e45e91c785baa13115966da9f446d349 /src/chainparams.cpp
parent41cced21063a89992ef393dda4fffc44ff60c7c3 (diff)
Remove unused chainparam networkID
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r--src/chainparams.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index 8a6a061ea1..51ae0a35bc 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -101,7 +101,6 @@ static const Checkpoints::CCheckpointData dataRegtest = {
class CMainParams : public CChainParams {
public:
CMainParams() {
- networkID = CBaseChainParams::MAIN;
strNetworkID = "main";
/**
* 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 {
public:
CTestNetParams() {
- networkID = CBaseChainParams::TESTNET;
strNetworkID = "test";
pchMessageStart[0] = 0x0b;
pchMessageStart[1] = 0x11;
@@ -247,7 +245,6 @@ static CTestNetParams testNetParams;
class CRegTestParams : public CTestNetParams {
public:
CRegTestParams() {
- networkID = CBaseChainParams::REGTEST;
strNetworkID = "regtest";
pchMessageStart[0] = 0xfa;
pchMessageStart[1] = 0xbf;
@@ -292,7 +289,6 @@ static CRegTestParams regTestParams;
class CUnitTestParams : public CMainParams, public CModifiableParams {
public:
CUnitTestParams() {
- networkID = CBaseChainParams::UNITTEST;
strNetworkID = "unittest";
nDefaultPort = 18445;
vFixedSeeds.clear(); //! Unit test mode doesn't have any fixed seeds.