Skip to main content

Locktime

technical
blockchain

A transaction field or script condition that delays when funds can be spent or when a transaction becomes valid.

1
general

Locktime is a Bitcoin-style transaction feature that prevents a transaction from being valid until a specified block height or timestamp. It allows users and protocols to create delayed settlement or refund paths.

2
technical

The nLockTime field is a 32-bit value. Values below 500,000,000 are interpreted as block heights; values at or above that threshold are interpreted as Unix timestamps. Input sequence numbers determine whether nLockTime is active.

3
use-case

Timelocks are important for payment channels, atomic swaps, escrow, and recovery transactions. They give honest participants a window to claim, refund, or dispute funds without trusting a counterparty.

4
comparison

Related mechanisms include CLTV for absolute timelocks inside scripts and CSV for relative timelocks based on how long an output has existed. These tools are more flexible than a transaction-level nLockTime alone.

Conceptual links

Related terms

3 linked

Explore connected entries beyond the alphabetical index.

All terms and definitions may update as the Cryptionary improves.