Browse Source

Change the network magic numbers.

pull/4/head
Taylor Hornby 8 years ago
parent
commit
1ea8b00926
  1. 8
      doc/release-process.md
  2. 8
      src/chainparams.cpp

8
doc/release-process.md

@ -30,8 +30,14 @@ git shortlog helps a lot, for example:
$ git shortlog --no-merges v${ZCASH_RELEASE_PREV}..HEAD \
> ./doc/release-notes/release-notes-${ZCASH_RELEASE}.md
### 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.
### B3. merge the previous changes
### B4. merge the previous changes
Do the normal pull-request, review, testing process for this release PR.

8
src/chainparams.cpp

@ -157,10 +157,10 @@ public:
consensus.nMajorityWindow = 400;
consensus.powLimit = uint256S("7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
consensus.fPowAllowMinDifficultyBlocks = true;
pchMessageStart[0] = 0x6d;
pchMessageStart[1] = 0xf6;
pchMessageStart[2] = 0xe7;
pchMessageStart[3] = 0x55;
pchMessageStart[0] = 0xa9;
pchMessageStart[1] = 0xf0;
pchMessageStart[2] = 0x94;
pchMessageStart[3] = 0x11;
vAlertPubKey = ParseHex("04302390343f91cc401d56d68b123028bf52e5fca1939df127f63c6467cdf9c8e2c14b61104cf817d0b780da337893ecc4aaff1309e536162dabbdb45200ca2b0a");
nDefaultPort = 18233;
nMinerThreads = 0;

Loading…
Cancel
Save