Skip to main content

Timelock

scripting · bitcoin

A spending rule that prevents a transaction or output from being used until a specified time or block height.

1.definition

A timelock delays when a transaction can become valid or when an output can be spent. Blockchains commonly support absolute timelocks based on a date or block height and relative timelocks based on how long an output has existed.

2.applications

Timelocks are building blocks for escrows, payment channels, vaults, inheritance plans, and atomic swaps. They reduce trust by making fallback paths enforceable by the chain instead of by a promise.

Related terms

All terms and definitions may update as the Cryptionary improves.