<p>When a HTLC is created, a new commitment transaction is created. The HTLC is an additional output (script) in this new commitment transaction, in addition to the RSMC and “regular” outputs, and represents the amount that is pending “routing confirmation”.</p>

<p>When the HTLC is cleared, another commitment transaction is created, absorbing the HTLC output amount into the RSMC/“regular” outputs.</p>

CC BY-SA 4.0
2018-12-04T11:33:54.013Z
2018-12-04T11:33:54.013Z
James C.
<p>I want to know about what happens to the commitment transactions as the HTLC's are sent and cleared along to peers in a route.</p>

<lightning-network><hash-time-locked-contract><ln-commitment-transaction>
What is the relation between a Hash Time Lock Contract(HTLC) and a Commitment transaction?
sk_58
# What is the relation between a Hash Time Lock Contract(HTLC) and a Commitment transaction?

(Asked by: username_0 on 2018-12-04)

I want to know about what happens to the commitment transactions as the HTLC's are sent and cleared along to peers in a route.

**Tags:** lightning-network, hash-time-locked-contract, ln-commitment-transaction


---

## 1 answers

### Answer by username_1 on 2018-12-04. Score: 3 | Accepted answer

When a HTLC is created, a new commitment transaction is created. The HTLC is an additional output (script) in this new commitment transaction, in addition to the RSMC and “regular” outputs, and represents the amount that is pending “routing confirmation”.

When the HTLC is cleared, another commitment transaction is created, absorbing the HTLC output amount into the RSMC/“regular” outputs.


---

