Revert "Enable policy enforcing GetMedianTimePast as the end point of lock-time constraints"

This reverts commit dea8d21fc6.
This commit is contained in:
Gregory Maxwell
2015-11-01 20:05:16 +00:00
parent 02a95be977
commit 8537ecdfc4
2 changed files with 4 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ static const unsigned int STANDARD_SCRIPT_VERIFY_FLAGS = MANDATORY_SCRIPT_VERIFY
static const unsigned int STANDARD_NOT_MANDATORY_VERIFY_FLAGS = STANDARD_SCRIPT_VERIFY_FLAGS & ~MANDATORY_SCRIPT_VERIFY_FLAGS;
/** Used as the flags parameter to CheckFinalTx() in non-consensus code */
static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST;
static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = 0;
bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType);
/**