Skip to content

Commit

Permalink
Change default p2p network port
Browse files Browse the repository at this point in the history
  • Loading branch information
nchashch committed Apr 11, 2024
1 parent 9ad570d commit 2d82e4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class CMainParams : public CChainParams {
pchMessageStart[2] = 0x27;
pchMessageStart[3] = 0x64;
vAlertPubKey = ParseHex("04b7ecf0baa90495ceb4e4090f6b2fd37eec1e9c85fac68a487f3ce11589692e4a317479316ee814e066638e1db54e37a10689b70286e6315b1087b6615d179264");
nDefaultPort = 8233;
nDefaultPort = 8234;
nPruneAfterHeight = 100000;

genesis = CreateGenesisBlock(
Expand Down Expand Up @@ -552,7 +552,7 @@ class CTestNetParams : public CChainParams {
pchMessageStart[2] = 0xf9;
pchMessageStart[3] = 0xbf;
vAlertPubKey = ParseHex("044e7a1553392325c871c5ace5d6ad73501c66f4c185d6b0453cf45dec5a1322e705c672ac1a27ef7cdaf588c10effdf50ed5f95f85f2f54a5f6159fca394ed0c6");
nDefaultPort = 18233;
nDefaultPort = 18234;
nPruneAfterHeight = 1000;

genesis = CreateGenesisBlock(
Expand Down Expand Up @@ -700,7 +700,7 @@ class CRegTestParams : public CChainParams {
pchMessageStart[1] = 0xe8;
pchMessageStart[2] = 0x3f;
pchMessageStart[3] = 0x5f;
nDefaultPort = 18344;
nDefaultPort = 18345;
nPruneAfterHeight = 1000;

genesis = CreateGenesisBlock(
Expand Down

0 comments on commit 2d82e4f

Please sign in to comment.