Remove COINBASE_SIGOPS_SWITCH_TIME
authorCryptoManiac <balthazar@yandex.ru>
Mon, 22 Feb 2016 15:03:48 +0000 (18:03 +0300)
committerCryptoManiac <balthazar@yandex.ru>
Mon, 22 Feb 2016 15:03:48 +0000 (18:03 +0300)
src/main.cpp
src/timestamps.h

index 404e135..c8769af 100644 (file)
@@ -429,7 +429,7 @@ unsigned int
 CTransaction::GetLegacySigOpCount() const
 {
     unsigned int nSigOps = 0;
-    if (!IsCoinBase() || nTime < COINBASE_SIGOPS_SWITCH_TIME)
+    if (!IsCoinBase())
     {
         // Coinbase scriptsigs are never executed, so there is 
         //    no sense in calculation of sigops.
index eb45fa4..bc4b950 100644 (file)
@@ -2,7 +2,6 @@
 #define BITCOIN_TIMESTAMPS_H
 
 static const unsigned int TARGETS_SWITCH_TIME = 1374278400; // Saturday, 20-Jul-2013 00:00:00 UTC
-static const unsigned int COINBASE_SIGOPS_SWITCH_TIME = 1447977600; // Friday, 20-Nov-15 00:00:00 UTC
 static const unsigned int SMALLDATA_SWITCH_TIME = 1458432000; // Sunday, 20-Mar-16 00:00:00 UTC
 static const unsigned int CHECKLOCKTIMEVERIFY_SWITCH_TIME = 1461110400; // Wednesday, 20-Apr-16 00:00:00 UTC
 #endif