<p><code>OP_CHECKTIMELOCKVERIFY</code>is not currently implemented in Bitcoin Core and thus can not be used. </p>

CC BY-SA 3.0
2015-12-18T07:43:48.657Z
This is no longer correct, see below.
Claris
CC BY-SA 3.0
2015-07-22T13:39:59.247Z
2015-07-22T13:39:59.247Z
Claris
<p><code>OP_CHECKTIMELOCKVERIFY</code> is implemented as of Bitcoin Core 0.11.2.</p>

<p>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.</p>

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

<p><a href="https://github.com/mruddy/bip65-demos">https://github.com/mruddy/bip65-demos</a></p>

CC BY-SA 3.0
2015-11-18T02:35:18.207Z
Been waiting for this. Any other resources out there that you are aware of other than NodeJS?
m1xolyd1an
CC BY-SA 3.0
2015-11-19T13:20:01.670Z
Just the Python implementation from the original proposal (BIP 65).  https://github.com/petertodd/checklocktimeverify-demos.
deweller
CC BY-SA 3.0
2015-11-17T21:46:31.357Z
2015-11-17T21:46:31.357Z
deweller
<p>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:</p>

<pre><code>createrawtransaction '[{"txid":"","vout":}]' '{"receive_address":0.02}' '{"op_checklocktimeverify":desired_block_height}'
</code></pre>

<transactions><bitcoin-core><raw>
Is it possible to execute a CLTV transaction in bitoin core 0.11 console?
m1xolyd1an
# Is it possible to execute a CLTV transaction in bitoin core 0.11 console?

(Asked by: username_0 on 2015-07-22)

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}'

```

**Tags:** transactions, bitcoin-core, raw


---

## 2 answers

### Answer by username_1 on 2015-07-22. Score: -1 | Accepted answer

`OP_CHECKTIMELOCKVERIFY`is not currently implemented in Bitcoin Core and thus can not be used.

> **Comments:**
> **username_1**: This is no longer correct, see below.  

---

### Answer by username_2 on 2015-11-17. Score: 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>

> **Comments:**
> **username_0**: Been waiting for this. Any other resources out there that you are aware of other than NodeJS?  
> **username_2**: Just the Python implementation from the original proposal (BIP 65).  https://github.com/petertodd/checklocktimeverify-demos.  

---

