user129310: What is the difference between capacity and max_htlc in the routing of payments in the network?

user81940: The capacity of a channel is the number of satoshis that are stored in the payment channel. They are split between the two channel partners and offered htlcs. No payment larger than the capacity can ever go through that channel.
The max_htlc is the number of concurrent offered htlcs that are possible in the channel. They are limited because most htlcs are outputs in the commitment transaction and cost a fee paid to the miners in case the channel has to be force closed.

129310: <p>What is the difference between <em>capacity</em> and <em>max_htlc</em> in the routing of payments in the network?</p>
 81940: <p>The <code>capacity</code> of a channel is the number of satoshis that are stored in the payment channel. They are split between the two channel partners and offered <code>htlcs</code>. No payment larger than the capacity can ever go through that channel.</p>
<p>The <code>max_htlc</code> is the number of concurrent offered <code>htlcs</code> that are possible in the channel. They are limited because most <code>htlcs</code> are outputs in the commitment transaction and cost a fee paid to the miners in case the channel has to be force closed.</p>
