Skip to content

Commit

Permalink
change default ports
Browse files Browse the repository at this point in the history
  • Loading branch information
tri authored and tri committed May 10, 2018
1 parent f45ac80 commit 368ccc3
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@

#include "chainparamsseeds.h"

//TODO: Take these out
extern double algoHashTotal[16];
extern int algoHashHits[16];


static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesisOutputScript, uint32_t nTime, uint32_t nNonce, uint32_t nBits, int32_t nVersion, const CAmount& genesisReward)
{
CMutableTransaction txNew;
Expand Down Expand Up @@ -199,7 +194,7 @@ class CMainParams : public CChainParams {
pchMessageStart[1] = 0x41;
pchMessageStart[2] = 0x56;
pchMessageStart[3] = 0x4e;
nDefaultPort = 8767;
nDefaultPort = 8707;
nPruneAfterHeight = 100000;

genesis = CreateGenesisBlock(1525759804, 2350601, 0x1e00ffff, 4, 5000 * COIN);
Expand Down Expand Up @@ -282,7 +277,7 @@ class CTestNetParams : public CChainParams {
pchMessageStart[1] = 0x56;
pchMessageStart[2] = 0x4E;
pchMessageStart[3] = 0x54;
nDefaultPort = 18767;
nDefaultPort = 18707;
nPruneAfterHeight = 1000;

genesis = CreateGenesisBlock(1525759804, 2350601, 0x1e00ffff, 4, 5000 * COIN);
Expand Down Expand Up @@ -363,7 +358,7 @@ class CRegTestParams : public CChainParams {
pchMessageStart[1] = 0x52;
pchMessageStart[2] = 0x4F;
pchMessageStart[3] = 0x57;
nDefaultPort = 18444;
nDefaultPort = 18404;
nPruneAfterHeight = 1000;

genesis = CreateGenesisBlock(1510082300, 2, 0x207fffff, 4, 5000 * COIN);
Expand Down

0 comments on commit 368ccc3

Please sign in to comment.