From 5b682bf399bbba121c52d7f13eca5b9466914427 Mon Sep 17 00:00:00 2001 From: J62 Date: Mon, 15 Oct 2018 17:10:51 -0700 Subject: [PATCH] disable fCoinbaseMustBeProtected for temp testnet disable fCoinbaseMustBeProtected for temp testnet and change peermagic --- src/chainparams.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 801396014..10a110ae3 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -209,7 +209,7 @@ public: CTestNetParams() { strNetworkID = "test"; - consensus.fCoinbaseMustBeProtected = true; + consensus.fCoinbaseMustBeProtected = false; consensus.nSubsidyHalvingInterval = 840000; // P2SH, height in coinbase, CLTV and DERSIG all enforced from genesis @@ -242,10 +242,10 @@ public: consensus.vDeployments[Consensus::DEPLOYMENT_CSV].nTimeout = 1535587200; // 2018-08-30 static_assert(Consensus::DEPLOYMENT_SEGWIT == Consensus::DEPLOYMENT_CSV, "segwit and csv deployed together"); - pchMessageStart[0] = 0xf4; - pchMessageStart[1] = 0x1c; - pchMessageStart[2] = 0xf5; - pchMessageStart[3] = 0xd4; + pchMessageStart[0] = 0xf3; + pchMessageStart[1] = 0x1e; + pchMessageStart[2] = 0xf6; + pchMessageStart[3] = 0xd3; nDefaultPort = 17933;