mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 13:03:17 +01:00
Change regtest and devnet p2p/rpc ports (#3064)
This commit is contained in:
parent
1905422561
commit
0f088d03af
@ -635,7 +635,7 @@ public:
|
|||||||
pchMessageStart[1] = 0xca;
|
pchMessageStart[1] = 0xca;
|
||||||
pchMessageStart[2] = 0xff;
|
pchMessageStart[2] = 0xff;
|
||||||
pchMessageStart[3] = 0xce;
|
pchMessageStart[3] = 0xce;
|
||||||
nDefaultPort = 19999;
|
nDefaultPort = 19799;
|
||||||
nPruneAfterHeight = 1000;
|
nPruneAfterHeight = 1000;
|
||||||
|
|
||||||
genesis = CreateGenesisBlock(1417713337, 1096447, 0x207fffff, 1, 50 * COIN);
|
genesis = CreateGenesisBlock(1417713337, 1096447, 0x207fffff, 1, 50 * COIN);
|
||||||
@ -782,7 +782,7 @@ public:
|
|||||||
pchMessageStart[1] = 0xc1;
|
pchMessageStart[1] = 0xc1;
|
||||||
pchMessageStart[2] = 0xb7;
|
pchMessageStart[2] = 0xb7;
|
||||||
pchMessageStart[3] = 0xdc;
|
pchMessageStart[3] = 0xdc;
|
||||||
nDefaultPort = 19994;
|
nDefaultPort = 19899;
|
||||||
nPruneAfterHeight = 1000;
|
nPruneAfterHeight = 1000;
|
||||||
|
|
||||||
genesis = CreateGenesisBlock(1417713337, 1096447, 0x207fffff, 1, 50 * COIN);
|
genesis = CreateGenesisBlock(1417713337, 1096447, 0x207fffff, 1, 50 * COIN);
|
||||||
|
@ -59,7 +59,7 @@ class CBaseDevNetParams : public CBaseChainParams
|
|||||||
public:
|
public:
|
||||||
CBaseDevNetParams(const std::string &dataDir)
|
CBaseDevNetParams(const std::string &dataDir)
|
||||||
{
|
{
|
||||||
nRPCPort = 19998;
|
nRPCPort = 19798;
|
||||||
strDataDir = dataDir;
|
strDataDir = dataDir;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -72,7 +72,7 @@ class CBaseRegTestParams : public CBaseChainParams
|
|||||||
public:
|
public:
|
||||||
CBaseRegTestParams()
|
CBaseRegTestParams()
|
||||||
{
|
{
|
||||||
nRPCPort = 18332;
|
nRPCPort = 19898;
|
||||||
strDataDir = "regtest";
|
strDataDir = "regtest";
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user