THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Does Bitcoin nLockTime Automatically Broadcast a Transaction?

permalink THAMER
#bitcoin#broadcast#nlocktime#transaction-finality

No. Bitcoin nLockTime is a transaction-finality condition, not an automatic broadcasting service or an instruction to miners to execute a payment at a particular time.

A wallet or another service must still submit the signed transaction to the network when it is eligible. A node can reject it as non-final before its height or time condition is satisfied. Even after the condition is satisfied, a transaction may not confirm immediately because it still needs to propagate, meet relevant relay policy, offer a competitive fee, and be selected by a miner.

For an absolute locktime to have an effect, at least one input must have a non-final sequence number; if all inputs use 0xffffffff, nLockTime is ignored for finality. Height locks and time locks use different units, and time-based validation uses Bitcoin's median-time-past rather than a guaranteed wall-clock deadline.

Practical takeaway: a timelock can restrict when a transaction is eligible, but reliable delivery requires separate transaction management and monitoring.

Primary references

Bitcoin developer reference — Transactions: https://developer.bitcoin.org/reference/transactions.html

BIP113 — Median time-past: https://github.com/bitcoin/bips/blob/master/bip-0113.mediawiki

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects