An ordinary Bitcoin payment can carry a nonzero locktime even when its sender wants to pay immediately. The field need not indicate an inheritance arrangement, a savings vault or a deliberate delay. A wallet can use it to make the payment less useful to a miner trying to replace recent history.

This practice is called anti-fee-sniping. It is a wallet construction policy built on existing transaction rules, not a separate fee paid for protection. Understanding it helps explain why a technical field can look like a scheduled payment without actually postponing the next available confirmation.

A boundary, not a reservation

Bitcoin Core's transaction finality check compares a height-based locktime with the height of the candidate block. The comparison is strict: when the locktime is effective, a value of H excludes a block at height H but permits H+1, assuming all other requirements are satisfied. A zero locktime passes this particular check directly. If every input uses the final sequence value, the locktime is ignored.

For a hypothetical example, suppose a wallet has synchronized through height 900,000 and constructs a payment with an effective height locktime of 900,000. Its earliest possible block is 900,001. That is the next block, not a promise to wait another hundred blocks. Nor is it a reservation in that block: eligibility and actual inclusion are different questions.

The example uses invented heights for teaching. It is not a report of the network's current height or of a particular transaction.

Why a wallet looks backward

Bitcoin Core v30.0's wallet implementation explains the incentive problem: a miner may consider replacing the latest block to capture its fees, potentially combining them with transactions waiting in the mempool. Restricting new transactions to later heights reduces the options available in that attempted rewrite.

When its chain view is sufficiently current, that implementation normally sets the locktime to the current height. It sometimes chooses an earlier height for privacy, and uses zero when its chain view is lagging. Explicitly supplied locktimes or input sequences can bypass this automatic behavior. These are version-specific construction details, not a requirement that every wallet follow the same recipe.

The intended effect is modest. A payment makes some backward-looking block construction less attractive; it does not prohibit reorganizations or identify a malicious miner. Calling it protection against every reversal would overstate what the mechanism does.

A transaction field is not an output vault

BIP65 describes CHECKLOCKTIMEVERIFY, which lets an output's spending conditions require an appropriate locktime in the transaction that spends it. That is a different layer from a wallet voluntarily putting a recent height into an ordinary payment.

The distinction matters when reading a block explorer. A nonzero transaction locktime alone does not establish that the payment created a time-restricted output. Conversely, an output's script can impose a future spending condition that cannot be understood from a casual glance at the transaction's headline fields.

Our practical interpretation is to ask two separate questions: when is this transaction eligible for inclusion, and what conditions govern spending its outputs later? Treating those as one question can make a routine wallet policy sound like a custody restriction.

Height is not wall-clock time

Locktime also has a time-based form. BIP113 specifies the median timestamp of the previous eleven blocks as the reference for time-based finality, rather than simply trusting the timestamp chosen for the candidate block. Its rationale is to remove an incentive to manipulate that timestamp to include otherwise premature transactions.

A height-based anti-fee-sniping value should therefore not be translated as though it were a Unix timestamp. More generally, a block-height condition cannot promise a particular minute on a calendar. The distinction is especially useful when an interface shows a raw integer without explaining its interpretation.

Inspect before diagnosing

Bitcoin Core's decoderawtransaction documentation lists both transaction locktime and each input's sequence among the decoded fields. Reading those together is more informative than reacting to the word “lock” alone. Decoding describes a transaction; it does not itself send it or establish that miners will include it.

For an ordinary wallet user, the sensible response is usually not to edit these fields. Check the wallet's explanation, its synchronization state and the actual confirmation status. Anti-fee-sniping is a small example of wallet software expressing a preference for forward progress while leaving ordinary payment review, fee selection and confirmation monitoring necessary.