Difference between revisions of "NLockTime"

From Bitcoin Wiki
Jump to: navigation, search
(Clarified the use of lock times.)
(improved grammar.)
Line 1: Line 1:
 
{{stub}}
 
{{stub}}
  
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.
+
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), before which the transaction cannot be accepted into a block.  If all inputs in a transaction 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:58, 18 September 2016

Hashbtc.jpgThis 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), before which the transaction cannot be accepted into a block. If all inputs in a transaction have nSequence equal to UINT_MAX, then nLockTime is ignored.

See lock_time in the protocol specification