From 9287207bf26f6d3bf81a52bcfdca6bb7ae60f480 Mon Sep 17 00:00:00 2001 From: Murch Date: Thu, 13 Jun 2024 11:05:50 -0400 Subject: [PATCH] Correct the description of lock time The lock time defines the last block height that cannot include the transaction. See: https://github.com/bitcoin/bitcoin/blob/080a47cb8a8db27328bbdf57aa80cc4b4127a370/src/consensus/tx_verify.cpp#L21 --- ch06_transactions.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ch06_transactions.adoc b/ch06_transactions.adoc index db25c8f3..5d235ad7 100644 --- a/ch06_transactions.adoc +++ b/ch06_transactions.adoc @@ -1050,9 +1050,9 @@ transaction in a block unless it satisfies one of the following rules: - The transaction indicates that it wants to restrict which blocks it can be included in by setting its lock time to a value less than 500,000,000. In this case, the transaction can only be included in a - block that has a height equal to the lock time or higher. For + block that has a height greater than the lock time. For example, a transaction with a lock time of 123,456 can be included in - block 123,456 or any later block. + block 123,457 or any later block. - The transaction indicates that it wants to restrict when it can be included in the blockchain by setting its lock time to a value of