Rusty Russell [ARCHIVE] on Nostr: 📅 Original date posted:2018-11-26 📝 Original message: Matt Corallo <lf-lists at ...
📅 Original date posted:2018-11-26
📝 Original message:
Matt Corallo <lf-lists at mattcorallo.com> writes:
> Hmm, are we willing to consider CLTV sufficient? In case you have two
> HTLCs, one of medium-small value that has a low CLTV and one of high
> value that has a higher CLTV, you could potentially use the soon-CLTV to
> delay the commitment transaction somewhat further if you broadcast it
> right as the sooner HTLC expires.
I think you haven't got the commitment tx onchain by the time the HTLC
expires, you're already in trouble.
But since there's no script length difference, it *is* simpler to
prepend `1 OP_CHECKSEQUENCEVERIFY OP_DROP` to the start of each script.
Cheers,
Rusty.
Published at
2023-06-09 12:53:03Event JSON
{
"id": "653e0d33b96e8df2b0dabab48bf804eb0c16622cbde5dbba3c4cbbb199527654",
"pubkey": "13bd8c1c5e3b3508a07c92598647160b11ab0deef4c452098e223e443c1ca425",
"created_at": 1686315183,
"kind": 1,
"tags": [
[
"e",
"61bdb1113c2be407a2b6f72754d78bf88b3bb4d02794bc6282368d740c0e6130",
"",
"root"
],
[
"e",
"27831b469bd241f71bff3e5a756dc3a88cbceb2bab8346b8f0dd50e9d608b849",
"",
"reply"
],
[
"p",
"cd753aa8fbc112e14ffe9fe09d3630f0eff76ca68e376e004b8e77b687adddba"
]
],
"content": "📅 Original date posted:2018-11-26\n📝 Original message:\nMatt Corallo \u003clf-lists at mattcorallo.com\u003e writes:\n\u003e Hmm, are we willing to consider CLTV sufficient? In case you have two \n\u003e HTLCs, one of medium-small value that has a low CLTV and one of high \n\u003e value that has a higher CLTV, you could potentially use the soon-CLTV to \n\u003e delay the commitment transaction somewhat further if you broadcast it \n\u003e right as the sooner HTLC expires.\n\nI think you haven't got the commitment tx onchain by the time the HTLC\nexpires, you're already in trouble.\n\nBut since there's no script length difference, it *is* simpler to\nprepend `1 OP_CHECKSEQUENCEVERIFY OP_DROP` to the start of each script.\n\nCheers,\nRusty.",
"sig": "d2d64ac10909718e638eb51d4bcc0a6154bcf3ba9cc87fda486ceb623c45610fe5d035b0b2b962cf5de08e0a1a2dc4b6e24ead04d98d908fe38b73ad4a52303d"
}