diff options
| author | Gregory Maxwell <[email protected]> | 2015-11-03 17:14:09 +0000 |
|---|---|---|
| committer | Gregory Maxwell <[email protected]> | 2015-11-03 17:14:09 +0000 |
| commit | d1c3762ae8c8c73ddd47766041507a6c131afaf2 (patch) | |
| tree | 25a57c056159681fb7277b582c5daec83afc2b62 /src/policy | |
| parent | Restore MedianTimePast for locktime. (diff) | |
| download | discoin-d1c3762ae8c8c73ddd47766041507a6c131afaf2.tar.xz discoin-d1c3762ae8c8c73ddd47766041507a6c131afaf2.zip | |
Revert "Revert "Enable policy enforcing GetMedianTimePast as the end point of lock-time constraints""
This reverts commit 8537ecdfc40181249ec37556015a99cfae4b21fd.
Diffstat (limited to 'src/policy')
| -rw-r--r-- | src/policy/policy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/policy/policy.h b/src/policy/policy.h index fdc54a70a..f269e8d47 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -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 = 0; +static const unsigned int STANDARD_LOCKTIME_VERIFY_FLAGS = LOCKTIME_MEDIAN_TIME_PAST; bool IsStandard(const CScript& scriptPubKey, txnouttype& whichType); /** |