changeset 29722:b7ce07d20a81

Changes for testnet5 (segwit2x).
author Chris Kleeschulte <chrisk@bitpay.com>
date Wed, 07 Jun 2017 13:28:22 -0400
parents c738c6f8fa48
children
files qa/rpc-tests/test_framework/mininode.py src/chainparams.cpp src/chainparamsbase.cpp
diffstat 3 files changed, 10 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/qa/rpc-tests/test_framework/mininode.py	Mon Jun 05 01:41:50 2017 -0400
+++ b/qa/rpc-tests/test_framework/mininode.py	Wed Jun 07 13:28:22 2017 -0400
@@ -1611,7 +1611,7 @@
     }
     MAGIC_BYTES = {
         "mainnet": b"\xf9\xbe\xb4\xd9",   # mainnet
-        "testnet3": b"\x0b\x11\x09\x07",  # testnet3
+        "testnet5": b"\x6e\x65\x74\x00",  # testnet5
         "regtest": b"\xfa\xbf\xb5\xda",   # regtest
     }
 
--- a/src/chainparams.cpp	Mon Jun 05 01:41:50 2017 -0400
+++ b/src/chainparams.cpp	Wed Jun 07 13:28:22 2017 -0400
@@ -216,11 +216,11 @@
         // By default assume that the signatures in ancestors of this block are valid.
         consensus.defaultAssumeValid = uint256S("0x00000000000128796ee387cf110ccb9d2f36cffaf7f73079c995377c65ac0dcc"); //1079274
 
-        pchMessageStart[0] = 0x0b;
-        pchMessageStart[1] = 0x11;
-        pchMessageStart[2] = 0x09;
-        pchMessageStart[3] = 0x07;
-        nDefaultPort = 18333;
+        pchMessageStart[0] = 0x6e;
+        pchMessageStart[1] = 0x65;
+        pchMessageStart[2] = 0x74;
+        pchMessageStart[3] = 0x00;
+        nDefaultPort = 18555;
         nPruneAfterHeight = 1000;
 
         genesis = CreateGenesisBlock(1296688602, 414098458, 0x1d00ffff, 1, 50 * COIN);
@@ -231,10 +231,7 @@
         vFixedSeeds.clear();
         vSeeds.clear();
         // nodes with support for servicebits filtering should be at the top
-        vSeeds.push_back(CDNSSeedData("testnetbitcoin.jonasschnelli.ch", "testnet-seed.bitcoin.jonasschnelli.ch", true));
-        vSeeds.push_back(CDNSSeedData("petertodd.org", "seed.tbtc.petertodd.org", true));
-        vSeeds.push_back(CDNSSeedData("bluematt.me", "testnet-seed.bluematt.me"));
-        vSeeds.push_back(CDNSSeedData("bitcoin.schildbach.de", "testnet-seed.bitcoin.schildbach.de"));
+        vSeeds.push_back(CDNSSeedData("testnet5.b-pay.net", "seed.testnet5.b-pay.net"));
 
         base58Prefixes[PUBKEY_ADDRESS] = std::vector<unsigned char>(1,111);
         base58Prefixes[SCRIPT_ADDRESS] = std::vector<unsigned char>(1,196);
@@ -380,4 +377,4 @@
 {
     regTestParams.UpdateBIP9Parameters(d, nStartTime, nTimeout);
 }
- 
+
--- a/src/chainparamsbase.cpp	Mon Jun 05 01:41:50 2017 -0400
+++ b/src/chainparamsbase.cpp	Wed Jun 07 13:28:22 2017 -0400
@@ -45,8 +45,8 @@
 public:
     CBaseTestNetParams()
     {
-        nRPCPort = 18332;
-        strDataDir = "testnet3";
+        nRPCPort = 18554;
+        strDataDir = "testnet5";
     }
 };
 static CBaseTestNetParams testNetParams;