Welcome to the discussion about this section. Here you can ask questions or post feedback about this specific lecture.
Could you provide a link where the special data structure (bitstructure) for relative time lock is specified?
A link to what, a transaction?
Hi I think you can see the specification for this here:
That was clear explanation about nTimeLock vs Check Lock Time Verify. CLTV is a very clever way to solve the shortcomings of nTimeLock too
Thanks for the courses, amazing work and very well structured!
I have a question:
Is it possible to combine CLTV (OP_CHECKLOCKTIMEVERIFY) with a Segwit transaction?
The course show the CLTV example with a PubKeyHash transaction so I was just curious to know if it possible to do it with a Segwit type transaction.
Thank you very much, I’m happy to hear you like it. Yes, that is absolutely possible. I think most people would do them within PayToWitnessScriptHash transactions. Basically a normal p2sh transaction but segwit enabled.
In that script you can embed any bitcoin logic you want, including CLTV.