Bitcoin Forum
April 19, 2024, 08:25:07 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CHECKLOCKTIMEVERIFY with "relative" block numbers?  (Read 1752 times)
bmking (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
March 07, 2015, 11:29:06 PM
 #1


I was reading about the proposal for CHECKLOCKTIMEVERIFY as an OP Code. The way I understand it, you can specify in your transaction, that it can only be used as an input to a new transaction (meaning it can only be spend), if the new transaction uses an nLockTime at least as great as the CHECKLOCKTIMEVERIFY specified for the input.

So in general it is possible to include a specific date or block for the CHECKLOCKTIMEVERIFY, for which you know that before this date/block is reached the transaction cannot be spent.

But what about if you want to make a raw transaction containing CHECKLOCKTIMEVERIFY in such a way, that it will first be spendable after e.g. 144 blocks from the moment the transaction has been included in a block (e.g. "mined")?
Is such a functionality planned with CHECKLOCKTIMEVERIFY? Because I think it could be very useful in regard of Never-Closing Payment Channels.
1713558307
Hero Member
*
Offline Offline

Posts: 1713558307

View Profile Personal Message (Offline)

Ignore
1713558307
Reply with quote  #2

1713558307
Report to moderator
1713558307
Hero Member
*
Offline Offline

Posts: 1713558307

View Profile Personal Message (Offline)

Ignore
1713558307
Reply with quote  #2

1713558307
Report to moderator
1713558307
Hero Member
*
Offline Offline

Posts: 1713558307

View Profile Personal Message (Offline)

Ignore
1713558307
Reply with quote  #2

1713558307
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713558307
Hero Member
*
Offline Offline

Posts: 1713558307

View Profile Personal Message (Offline)

Ignore
1713558307
Reply with quote  #2

1713558307
Report to moderator
1713558307
Hero Member
*
Offline Offline

Posts: 1713558307

View Profile Personal Message (Offline)

Ignore
1713558307
Reply with quote  #2

1713558307
Report to moderator
btcdrak
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000


View Profile
October 03, 2015, 04:12:29 PM
 #2

This feature is planned now according to BIP68 and BIP112 which will introduce a new opcode called OP_CHECKSEQUENCEVERIFY.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!