Bitcoin Forum
June 24, 2024, 03:44:11 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Troubles with CLTV transaction being non-final...  (Read 562 times)
CIYAM (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
November 11, 2016, 01:03:54 PM
Last edit: November 11, 2016, 02:51:47 PM by CIYAM
 #1

For anyone playing around with CLTV transaction using "regtest" you should note that you will likely need to generate multiple blocks between sending funds to the the P2SH script address with the future nLockTime and when you want issue the tx to spend those funds due to the handling of the nBlockTime being based upon an average of the last X blocks.

https://github.com/bitcoin/bips/blob/master/bip-0113.mediawiki

Frustrated me for a day so if you're getting the non-final errors when you think you shouldn't just try a "generate 10" and repeat. Smiley

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
CIYAM (OP)
Legendary
*
Offline Offline

Activity: 1890
Merit: 1078


Ian Knowles - CIYAM Lead Developer


View Profile WWW
November 11, 2016, 02:28:03 PM
Last edit: November 11, 2016, 02:52:04 PM by CIYAM
 #2

Will lock this topic now.

With CIYAM anyone can create 100% generated C++ web applications in literally minutes.

GPG Public Key | 1ciyam3htJit1feGa26p2wQ4aw6KFTejU
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!