Conversation
CHECKLOCKTIMEVERIFY is absolute (not relative) isn't it?
|
ACK bffcc0c, my understanding is that OP_CHECKSEQUENCEVERIFY is relative (a.k.a OP_RELATIVECHECKLOCKTIMEVERIFY). Another interesting way to verify this is https://github.com/ElementsProject/lightning/blob/f4e94147a7281ec05e078ff9f3e6d65893417bad/bitcoin/script.c#L377 |
|
This is the second time this has come up so maybe it's worth addressing. That's it's an absolute timelock cannot be misunderstood because that's what the opcode does, but I would prefer to notate it as something like |
|
@btcdrak Using
|
|
@dooglus Please make the change then I can ack it. |
|
How would you like the change? There are currently three examples of
Do you want them all to use a relative time offset? Or just the last two? Or do you want the Alice and Bob commitments, which are pretty much symmetrical, to use different types of offset, one relative and one absolute? I'm not understanding your motivation for wanting any of them to be relative to |
|
ping @luke-jr please can you merge this. |
CHECKLOCKTIMEVERIFY is absolute (not relative) isn't it?