<p>Both hash locks and time locks exist in bitcoin today.</p>

<p>It looks like the BIP in question relates to wallet support and HTLC transaction structure, rather than changes to bitcoin's opcodes.</p>

CC BY-SA 3.0
2017-01-15T19:09:15.987Z
2017-01-15T19:09:15.987Z
murty
<p>I thought that HTLCs were just a kind of a script construct that would allow to unlock funds for a period of time, which can be unlocked to anyone that provides the original string that matches the hash. Does it need new opcodes that are not working in Bitcoin yet?</p>
<p>I ask this because I can see the BIP where this is proposed, linked from here: <a href="https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-July/012894.html" rel="nofollow noreferrer">https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-July/012894.html</a> . However, neither the pull request nor the BIP inclusion seem to have had any activity.</p>
<p>Does this BIP need a soft-fork that hasn't been implemented/deployed yet?</p>

<lightning-network><script><hash><blockchain-fork><hash-time-locked-contract>
Do HTLC transactions work today or do they need a new soft-fork?
knocte
# Do HTLC transactions work today or do they need a new soft-fork?

(Asked by: username_0 on 2017-01-15)

I thought that HTLCs were just a kind of a script construct that would allow to unlock funds for a period of time, which can be unlocked to anyone that provides the original string that matches the hash. Does it need new opcodes that are not working in Bitcoin yet?

I ask this because I can see the BIP where this is proposed, linked from here: <https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-July/012894.html> . However, neither the pull request nor the BIP inclusion seem to have had any activity.

Does this BIP need a soft-fork that hasn't been implemented/deployed yet?

**Tags:** lightning-network, script, hash, blockchain-fork, hash-time-locked-contract


---

## 1 answers

### Answer by username_1 on 2017-01-15. Score: 1

Both hash locks and time locks exist in bitcoin today.

It looks like the BIP in question relates to wallet support and HTLC transaction structure, rather than changes to bitcoin's opcodes.


---

