Ben Carman [ARCHIVE] on Nostr: đź“… Original date posted:2021-06-28 đź“ť Original message:> If nSequence is set it ...
đź“… Original date posted:2021-06-28
đź“ť Original message:> If nSequence is set it should apply only to the first input of the
transaction, if it has multiple inputs.
This could have complications with DLCs and dual funded lightning. In both protocols the ordering of the inputs is not know until both parties have revealed all of their inputs, and during the reveal the nSequence is given. If we want DLCs and dual funded lightning to be compatible it would be better to have it define it as “at least one of the inputs of the transaction” instead of “it should apply only to the first input of the transaction”
benthecarman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20210628/88dc0ff3/attachment.html>
Published at
2023-06-07 22:54:34Event JSON
{
"id": "d172c038091b86ffbbe3c013dbe714a214d6954fbadecb366c52aba8024ccbbe",
"pubkey": "f7d7054638b41c5aa85d000f6b5903c1ef32852243483c654798d2a61aa5079c",
"created_at": 1686178474,
"kind": 1,
"tags": [
[
"e",
"e9b4b76b6a6ca4efb8c75ca8b68b7a20f5f90abba79d09c78a1fe89fc3c760ce",
"",
"root"
],
[
"e",
"bf497ea13957f4595f69a8dfe55ef243b994b0bfdbb409ed8c74ffd3e24e3f4c",
"",
"reply"
],
[
"p",
"cd99305dce8f7a8772455d28d44a8451787c19b2ffd2c8b1010acecc3c5f95c7"
]
],
"content": "📅 Original date posted:2021-06-28\n📝 Original message:\u003e If nSequence is set it should apply only to the first input of the\ntransaction, if it has multiple inputs.\n\nThis could have complications with DLCs and dual funded lightning. In both protocols the ordering of the inputs is not know until both parties have revealed all of their inputs, and during the reveal the nSequence is given. If we want DLCs and dual funded lightning to be compatible it would be better to have it define it as “at least one of the inputs of the transaction” instead of “it should apply only to the first input of the transaction”\n\nbenthecarman\n\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20210628/88dc0ff3/attachment.html\u003e",
"sig": "3b03e152989ba7c640b82f7e6668cacb0b489305556f384a78c2d363208594760164ac7fd2714bf9c5bc1cf9eda5c5aaf48dde675d4de7effefe2803706acb33"
}