summaryrefslogtreecommitdiff
path: root/bip-0113.mediawiki
diff options
context:
space:
mode:
Diffstat (limited to 'bip-0113.mediawiki')
-rw-r--r--bip-0113.mediawiki8
1 files changed, 4 insertions, 4 deletions
diff --git a/bip-0113.mediawiki b/bip-0113.mediawiki
index 3686777..d736280 100644
--- a/bip-0113.mediawiki
+++ b/bip-0113.mediawiki
@@ -45,13 +45,13 @@ BIP68 (sequence numbers) and BIP112 (CHECKSEQUENCEVERIFY).
==Specification==
-The values for transaction locktime remain unchanged. The difference is only in
-the calculation determining whether a transaction can be included. Instead of
-an unreliable timestamp, the following function is used to determine the current
+The values for transaction locktime remain unchanged. The difference is only in
+the calculation determining whether a transaction can be included. Instead of
+an unreliable timestamp, the following function is used to determine the current
block time for the purpose of checking lock-time constraints:
enum { nMedianTimeSpan=11 };
-
+
int64_t GetMedianTimePast(const CBlockIndex* pindex)
{
int64_t pmedian[nMedianTimeSpan];