Skip to main content
Became Hot Network Question
edited tags
Link
Murch
  • 77.8k
  • 35
  • 190
  • 641
edited body
Source Link
LeaBit
  • 990
  • 2
  • 13

Looking at the BIP65, it says that the CLTV will fail if the nSequence field of the txin is 0xffffffff. It seems logical to me since if the nSequence of all inputs are set to 0xffffffff, the value of nLocktime and absolute time are not taken into consideration. However, does the nSequence of the input that consumes output with CLTV must be != 0xffffffff, or the nSequence of any input inside the transaction can be != 0xffffffff and the input that consumes output with CLTV can stay with nSequence set to 0xffffffff and that CLTV still pass? I am asking because in both cases the locktime and abosluteabsolute time lock will be taken into consideration, that is, the locktime will be activated. Thanks.

Looking at the BIP65, it says that the CLTV will fail if the nSequence field of the txin is 0xffffffff. It seems logical to me since if the nSequence of all inputs are set to 0xffffffff, the value of nLocktime and absolute time are not taken into consideration. However, does the nSequence of the input that consumes output with CLTV must be != 0xffffffff, or the nSequence of any input inside the transaction can be != 0xffffffff and the input that consumes output with CLTV can stay with nSequence set to 0xffffffff and that CLTV still pass? I am asking because in both cases the locktime and aboslute time lock will be taken into consideration, that is, the locktime will be activated. Thanks.

Looking at the BIP65, it says that the CLTV will fail if the nSequence field of the txin is 0xffffffff. It seems logical to me since if the nSequence of all inputs are set to 0xffffffff, the value of nLocktime and absolute time are not taken into consideration. However, does the nSequence of the input that consumes output with CLTV must be != 0xffffffff, or the nSequence of any input inside the transaction can be != 0xffffffff and the input that consumes output with CLTV can stay with nSequence set to 0xffffffff and that CLTV still pass? I am asking because in both cases the locktime and absolute time lock will be taken into consideration, that is, the locktime will be activated. Thanks.

Source Link
LeaBit
  • 990
  • 2
  • 13

Does the nSequence of the input that consumes the CLTV output have to be different from 0xffffffff?

Looking at the BIP65, it says that the CLTV will fail if the nSequence field of the txin is 0xffffffff. It seems logical to me since if the nSequence of all inputs are set to 0xffffffff, the value of nLocktime and absolute time are not taken into consideration. However, does the nSequence of the input that consumes output with CLTV must be != 0xffffffff, or the nSequence of any input inside the transaction can be != 0xffffffff and the input that consumes output with CLTV can stay with nSequence set to 0xffffffff and that CLTV still pass? I am asking because in both cases the locktime and aboslute time lock will be taken into consideration, that is, the locktime will be activated. Thanks.