What is Nostr?
Rusty Russell [ARCHIVE] /
npub1zw7…khpx
2023-06-09 12:53:03
in reply to nevent1q…996z

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.
Author Public Key
npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx