1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-12-22 14:48:09 +00:00

Correct the description of lock time

The lock time defines the last block height that cannot include the
transaction.

See: 080a47cb8a/src/consensus/tx_verify.cpp (L21)
This commit is contained in:
Murch 2024-06-13 11:05:50 -04:00
parent 6d1c26e164
commit 9287207bf2
No known key found for this signature in database
GPG Key ID: 7BA035CA5B901713

View File

@ -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