Change the network magic numbers.
This commit is contained in:
parent
bbf75f9f70
commit
1ea8b00926
|
@ -31,7 +31,13 @@ git shortlog helps a lot, for example:
|
||||||
$ git shortlog --no-merges v${ZCASH_RELEASE_PREV}..HEAD \
|
$ git shortlog --no-merges v${ZCASH_RELEASE_PREV}..HEAD \
|
||||||
> ./doc/release-notes/release-notes-${ZCASH_RELEASE}.md
|
> ./doc/release-notes/release-notes-${ZCASH_RELEASE}.md
|
||||||
|
|
||||||
### B3. merge the previous changes
|
### B3. change the network magics
|
||||||
|
|
||||||
|
If this release breaks backwards compatibility, change the network magic
|
||||||
|
numbers. Set the four `pchMessageStart` in `CTestNetParams` in `chainparams.cpp`
|
||||||
|
to random values.
|
||||||
|
|
||||||
|
### B4. merge the previous changes
|
||||||
|
|
||||||
Do the normal pull-request, review, testing process for this release PR.
|
Do the normal pull-request, review, testing process for this release PR.
|
||||||
|
|
||||||
|
|
|
@ -157,10 +157,10 @@ public:
|
||||||
consensus.nMajorityWindow = 400;
|
consensus.nMajorityWindow = 400;
|
||||||
consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
|
||||||
consensus.fPowAllowMinDifficultyBlocks = true;
|
consensus.fPowAllowMinDifficultyBlocks = true;
|
||||||
pchMessageStart[0] = 0x6d;
|
pchMessageStart[0] = 0xa9;
|
||||||
pchMessageStart[1] = 0xf6;
|
pchMessageStart[1] = 0xf0;
|
||||||
pchMessageStart[2] = 0xe7;
|
pchMessageStart[2] = 0x94;
|
||||||
pchMessageStart[3] = 0x55;
|
pchMessageStart[3] = 0x11;
|
||||||
vAlertPubKey = ParseHex("04302390343f91cc401d56d68b123028bf52e5fca1939df127f63c6467cdf9c8e2c14b61104cf817d0b780da337893ecc4aaff1309e536162dabbdb45200ca2b0a");
|
vAlertPubKey = ParseHex("04302390343f91cc401d56d68b123028bf52e5fca1939df127f63c6467cdf9c8e2c14b61104cf817d0b780da337893ecc4aaff1309e536162dabbdb45200ca2b0a");
|
||||||
nDefaultPort = 18233;
|
nDefaultPort = 18233;
|
||||||
nMinerThreads = 0;
|
nMinerThreads = 0;
|
||||||
|
|
Loading…
Reference in New Issue