|
|
|
@ -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
|
|
|
|
|
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
|
|
|
|
|
is not revealed, the payer of the HTLC can get a "refund" after some
|
|
|
|
|
time. This is achieved with an absolute timelock using
|
|
|
|
|