Question regarding transactions with NLOCKTIME > 0



Summary:

When a transaction with an nLockTime value greater than zero is created, it cannot be accepted or relayed by nodes until the locktime expires. This means that it cannot be stored in a block before its locktime expires and must be kept offline until then. Peter Todd and others are working on enhancements to basic nLockTime called CHECKLOCKTIMEVERIFY and RELATIVE CHECKLOCKTIMEVERIFY to offer users the guarantee that if they have a transaction with nLockTime, the signer holding the private keys used to sign it cannot sign another one with nLockTime 0 and broadcast it before the locktime for their transaction expires. If a transaction that doesn't take effect for 10 years is stored in a block, it will stay on the active list for that period of time, which raises concerns about the concept of pruning that is supposed to be going into version 0.11.


Updated on: 2023-06-10T00:10:59.909313+00:00