From: svost Date: Wed, 25 Jan 2017 14:25:54 +0000 (+0300) Subject: Update timestamps.h X-Git-Url: https://git.novaco.in/?p=novacoin.git;a=commitdiff_plain;h=e09ec7670e789387df2c05571a8118b99e54af3a Update timestamps.h --- diff --git a/src/main.h b/src/main.h index 62417c7..1a61a63 100644 --- a/src/main.h +++ b/src/main.h @@ -54,8 +54,6 @@ static const int64_t MIN_TXOUT_AMOUNT = CENT/100; inline bool MoneyRange(int64_t nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } inline bool MoneyRange(CBigNum nValue) { return (nValue >= 0 && nValue <= MAX_MONEY); } -// Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp. -static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov 5 00:53:20 1985 UTC // Maximum number of script-checking threads allowed static const int MAX_SCRIPTCHECK_THREADS = 16; diff --git a/src/timestamps.h b/src/timestamps.h index 57382bd..218a429 100644 --- a/src/timestamps.h +++ b/src/timestamps.h @@ -3,4 +3,6 @@ static const unsigned int TARGETS_SWITCH_TIME = 1374278400; // Saturday, 20-Jul-2013 00:00:00 UTC static const unsigned int CHECKLOCKTIMEVERIFY_SWITCH_TIME = 1461110400; // Wednesday, 20-Apr-16 00:00:00 UTC +// Threshold for nLockTime: below this value it is interpreted as block number, otherwise as UNIX timestamp. +static const unsigned int LOCKTIME_THRESHOLD = 500000000; // Tue Nov 5 00:53:20 1985 UTC #endif