Bitcoin Forum
July 19, 2018, 10:18:07 PM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Ultimatum Game Deadline in Script  (Read 407 times)
Andrewbaine
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 10, 2016, 02:17:57 PM
 #1


Is there a way to allow a certain redemption path before and only before a certain time/blockheight? CLTV causes paths to open in the future, I want to close them down.

For example, here's an imagined script that gives A and B until the end of the year to negotiate an agreement, after which the funds revert to C.

Code:
2017-01-01 OP_???
IF
  2 <pkA> <pkB> 2 CHECKMULTISIG
ELSE
  <pkC> CHECKSIG
ENDIF
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!