Change regtest and devnet p2p/rpc ports (#3064)

This commit is contained in:
UdjinM6 2019-08-28 10:52:00 +03:00 committed by GitHub
parent 1905422561
commit 0f088d03af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -635,7 +635,7 @@ public:
pchMessageStart[1] = 0xca;
pchMessageStart[2] = 0xff;
pchMessageStart[3] = 0xce;
nDefaultPort = 19999;
nDefaultPort = 19799;
nPruneAfterHeight = 1000;
genesis = CreateGenesisBlock(1417713337, 1096447, 0x207fffff, 1, 50 * COIN);
@ -782,7 +782,7 @@ public:
pchMessageStart[1] = 0xc1;
pchMessageStart[2] = 0xb7;
pchMessageStart[3] = 0xdc;
nDefaultPort = 19994;
nDefaultPort = 19899;
nPruneAfterHeight = 1000;
genesis = CreateGenesisBlock(1417713337, 1096447, 0x207fffff, 1, 50 * COIN);

View File

@ -59,7 +59,7 @@ class CBaseDevNetParams : public CBaseChainParams
public:
CBaseDevNetParams(const std::string &dataDir)
{
nRPCPort = 19998;
nRPCPort = 19798;
strDataDir = dataDir;
}
};
@ -72,7 +72,7 @@ class CBaseRegTestParams : public CBaseChainParams
public:
CBaseRegTestParams()
{
nRPCPort = 18332;
nRPCPort = 19898;
strDataDir = "regtest";
}
};