Is it possible to execute a CLTV transaction in bitoin core 0.11 console?

0

The title says it all. How can one perform a op_checklocktimeverify transaction using bitcoin core? I've searched around and I've found a few repo's on github but nothing about how to do it in the console. I was thinking it would be something that you would just tack onto the end of a raw tx like this:

createrawtransaction '[{"txid":"","vout":}]' '{"receive_address":0.02}' '{"op_checklocktimeverify":desired_block_height}'

m1xolyd1an

Posted 2015-07-22T12:36:22.590

Reputation: 3 356

Answers

-1

OP_CHECKTIMELOCKVERIFYis not currently implemented in Bitcoin Core and thus can not be used.

Anonymous

Posted 2015-07-22T12:36:22.590

Reputation: 10 054

This is no longer correct, see below.Anonymous 2015-12-18T07:43:48.657

6

OP_CHECKTIMELOCKVERIFY is implemented as of Bitcoin Core 0.11.2.

This release supports a soft fork to enable CLTV (BIP 65). CLTV is part of version 4 blocks. Once 951 blocks are mined with version 4 blocks, then the soft fork is complete on only version 4 blocks are valid from this point on.

You will need to construct the CLTV transaction using other software. Here is an example that requires bitcore (NodeJS):

https://github.com/mruddy/bip65-demos

deweller

Posted 2015-07-22T12:36:22.590

Reputation: 185

Been waiting for this. Any other resources out there that you are aware of other than NodeJS?m1xolyd1an 2015-11-18T02:35:18.207

Just the Python implementation from the original proposal (BIP 65). https://github.com/petertodd/checklocktimeverify-demos.

deweller 2015-11-19T13:20:01.670