From 6262d3afcde247eb24c612ae86e86e8dce05a84b Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 1 Aug 2013 22:14:01 +0400 Subject: [PATCH] Remove legacy block schema version checking --- src/main.cpp | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 7881108..57fd7da 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2250,10 +2250,6 @@ bool CBlock::AcceptBlock() } } - // Reject block.nVersion < 3 blocks since 95% threshold on mainNet and always on testNet: - if (nVersion < 3 && ((!fTestNet && nHeight > 14060) || (fTestNet && nHeight > 0))) - return error("CheckBlock() : rejected nVersion < 3 block"); - // Enforce rule that the coinbase starts with serialized block height CScript expect = CScript() << nHeight; if (!std::equal(expect.begin(), expect.end(), vtx[0].vin[0].scriptSig.begin())) -- 1.7.1