1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-25 17:38:26 +00:00

Edited ch14_applications.adoc with Atlas code editor

This commit is contained in:
claylock 2023-10-26 20:04:38 +00:00
parent 93c691dd8c
commit 2002e9d2bd

View File

@ -938,6 +938,7 @@ script. Whoever knows the secret can use it to redeem the output. The
secret +R+ is also referred to as a _preimage_ to the hash function. The secret +R+ is also referred to as a _preimage_ to the hash function. The
preimage is just the data that is used as input to a hash function. preimage is just the data that is used as input to a hash function.
[role="less_space pagebreak-before"]
The second part of an HTLC is the "time lock" component. If the secret The second part of an HTLC is the "time lock" component. If the secret
is not revealed, the payer of the HTLC can get a "refund" after some is not revealed, the payer of the HTLC can get a "refund" after some
time. This is achieved with an absolute timelock using time. This is achieved with an absolute timelock using