Skip to content

Commit

Permalink
chainparams, change regtest ports from testnets
Browse files Browse the repository at this point in the history
  • Loading branch information
cevap authored and FornaxA committed Feb 5, 2019
1 parent 1163945 commit ffefa05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,7 @@ class CRegTestParams : public CTestNetParams
pchMessageStart[1] = 0x9a;
pchMessageStart[2] = 0x39;
pchMessageStart[3] = 0x9e;
nDefaultPort = 34567;
nSubsidyHalvingInterval = 150;
nEnforceBlockUpgradeMajority = 750;
nRejectBlockOutdatedMajority = 950;
Expand Down
2 changes: 1 addition & 1 deletion src/chainparamsbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class CBaseRegTestParams : public CBaseTestNetParams
CBaseRegTestParams()
{
networkID = CBaseChainParams::REGTEST;
nRPCPort = 27171;
nRPCPort = 28171;
strDataDir = "regtest";
}
};
Expand Down

0 comments on commit ffefa05

Please sign in to comment.