From 47bb141bf2d589db630ac1a917189b05b75b80d0 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Thu, 10 Dec 2015 01:59:31 -0800 Subject: [PATCH] New validation rule is coming into force since 20 December 2015. --- src/main.cpp | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 5e8e030..f6adb17 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -512,7 +512,8 @@ bool CTransaction::CheckTransaction() const if (vout.empty()) return DoS(10, error("CTransaction::CheckTransaction() : vout empty")); // Time (prevent mempool memory exhaustion attack) - if (nTime > FutureDrift(GetAdjustedTime())) + // Comes into force since 20 December 2015. + if (nTime > 1450569600 && nTime > FutureDrift(GetAdjustedTime())) return DoS(10, error("CTransaction::CheckTransaction() : timestamp is too far into the future")); // Size limits if (::GetSerializeSize(*this, SER_NETWORK, PROTOCOL_VERSION) > MAX_BLOCK_SIZE) -- 1.7.1