NLockTime: Difference between revisions

From Bitcoin Wiki
Jump to navigation Jump to search
Notplato (talk | contribs)
Specified that nLockTime is part of an input to a transaction.
Notplato (talk | contribs)
Clarified the use of lock times.
Line 1: Line 1:
{{stub}}
{{stub}}


nLockTime is a parameter that can be attached to an input to a transaction, that mandates a minimal time (specified in either unix time or block height), that before this time, the transaction cannot be accepted into a block.
nLockTime is a parameter of a transaction, that, if any input indicates so (by having nSequence not equal to UINT_MAX), mandates a minimal time (specified in either unix time or block height), that before this time, the transaction cannot be accepted into a block.  If all inputs have nSequence equal to UINT_MAX, then nLockTime is ignored.


See lock_time in [[Protocol_specification#tx|the protocol specification]]
See lock_time in [[Protocol_specification#tx|the protocol specification]]


[[Category:Technical]]
[[Category:Technical]]

Revision as of 01:57, 18 September 2016

This page is a stub. Help by expanding it.

nLockTime is a parameter of a transaction, that, if any input indicates so (by having nSequence not equal to UINT_MAX), mandates a minimal time (specified in either unix time or block height), that before this time, the transaction cannot be accepted into a block. If all inputs have nSequence equal to UINT_MAX, then nLockTime is ignored.

See lock_time in the protocol specification