Tom Harding [ARCHIVE] on Nostr: ๐
Original date posted:2015-07-05 ๐ Original message:BIP 68 uses nSequence to ...
๐
Original date posted:2015-07-05
๐ Original message:BIP 68 uses nSequence to specify relative locktime, but nSequence also
continues to condition the transaction-level locktime.
This dual effect will prevent a transaction from having an effective
nLocktime without also requiring at least one of its inputs to be mined
at least one block (or one second) ahead of its parent.
The fix is to shift the semantics so that nSequence = MAX_INT - 1
specifies 0 relative locktime, rather than 1. This change will also
preserve the semantics of transactions that have already been created
with the specific nSequence value MAX_INT - 1 (for example all
transactions created by the bitcoin core wallet starting in 0.11).
Published at
2023-06-07 15:41:42Event JSON
{
"id": "b5b46e49389c86a5c2da03e0be91e1c57234f51c1196c537c6d0f288ae24ad54",
"pubkey": "dc329a02c970aabf03b87185ef51c86afe4586fe3a148508af898af3fabc56a3",
"created_at": 1686152502,
"kind": 1,
"tags": [
[
"e",
"a9a9aca60fe5ebc109f9ba65c6e1110ae9ec6ca7ce05bca568532288913e8719",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "๐
Original date posted:2015-07-05\n๐ Original message:BIP 68 uses nSequence to specify relative locktime, but nSequence also\ncontinues to condition the transaction-level locktime.\n\nThis dual effect will prevent a transaction from having an effective\nnLocktime without also requiring at least one of its inputs to be mined\nat least one block (or one second) ahead of its parent.\n\nThe fix is to shift the semantics so that nSequence = MAX_INT - 1\nspecifies 0 relative locktime, rather than 1. This change will also\npreserve the semantics of transactions that have already been created\nwith the specific nSequence value MAX_INT - 1 (for example all\ntransactions created by the bitcoin core wallet starting in 0.11).",
"sig": "5be795d9bf41e918413047240abd2968af212fb3861a274771f8d9c310d4689b60fa68e5cbe5a514248ecd2fd41ddee4b227f43ddceb69ab90fb0d92b30938d8"
}