From 18b7b5e79aa7702e1c7b0f11ca8e074e13b16b66 Mon Sep 17 00:00:00 2001 From: jl777 Date: Tue, 20 Nov 2018 21:56:03 -1100 Subject: [PATCH] , bool fThread=true for EnforceNodeDeprecation --- src/deprecation.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/deprecation.h b/src/deprecation.h index 32db73d23..a63a0084e 100644 --- a/src/deprecation.h +++ b/src/deprecation.h @@ -9,7 +9,7 @@ // * Shut down WEEKS_UNTIL_DEPRECATION weeks' worth of blocks after the estimated release block height. // * A warning is shown during the DEPRECATION_WARN_LIMIT worth of blocks prior to shut down. static const int WEEKS_UNTIL_DEPRECATION = 52; -static const int DEPRECATION_HEIGHT = 1600000; +static const int DEPRECATION_HEIGHT = 1400000; static const int APPROX_RELEASE_HEIGHT = DEPRECATION_HEIGHT - (WEEKS_UNTIL_DEPRECATION * 7 * 24 * 60); // Number of blocks before deprecation to warn users @@ -20,6 +20,6 @@ static const int DEPRECATION_WARN_LIMIT = 60 * 24 * 60; // 2 months * shuts down the node with an error if so (and deprecation is not disabled for * the current client version). */ -void EnforceNodeDeprecation(int nHeight, bool forceLogging=false); +void EnforceNodeDeprecation(int nHeight, bool forceLogging=false, bool fThread=true); #endif // ZCASH_DEPRECATION_H