Research scope: Documentary analysis with a hypothetical worked example. Sources reviewed 5 December 2026; this is a planning and interpretation guide, not a report of 2027 observations.
A balance can be available while a slot is not
A Lightning channel can have enough value to fund another payment yet lack capacity for another outstanding HTLC. Liquidity, the maximum value already in flight and the number of accepted HTLCs are separate constraints. A payment planner that checks only satoshis can therefore promise throughput the channel cannot currently provide.
BOLT 2 describes both a maximum in-flight HTLC value and a maximum accepted HTLC count. BOLT 4 identifies too many in-flight HTLCs as one possible cause of a temporary channel failure. LND's channel-acceptance interface exposes corresponding count and value settings. [1][2][3]
This article turns those distinct limits into a bounded capacity worksheet. It does not inspect a node, estimate network liquidity or guarantee a route. Every balance, limit and pending count in the example is fictional.
Count, value and direction need separate units
An HTLC is an outstanding conditional payment component. Its count consumes one place in the applicable directional limit, while its amount consumes part of the permitted in-flight value. The same channel also needs sufficient usable liquidity for the proposed direction.
The BOLT 2 fields are negotiated constraints. max_accepted_htlcs limits how many outstanding HTLCs the remote node may offer, while max_htlc_value_in_flight_msat caps their combined value. Their directions and units should survive any conversion into a dashboard. [1]
LND's ChannelAcceptor documentation similarly distinguishes max_htlc_count from in_flight_max_msat and reserve-related settings. Those are not interchangeable definitions of one capacity number. [3]
For a sender, the relevant question is which constraints govern the outgoing HTLCs offered to that peer. A record of incoming limits is not a substitute. Nor should a wallet-wide balance be inserted where the calculation needs one channel's usable outbound liquidity after the relevant reserves and commitments.
A limited equal-part calculation
Assume all new payment parts in the model are exactly 10,000 satoshis. Define free slots as the count limit minus pending HTLC count. Define value headroom as the in-flight value limit minus currently committed in-flight value. The modeled number of additional parts is the smallest of free slots, whole parts supported by usable liquidity, and whole parts supported by value headroom.
This is an arithmetic ceiling under the supplied inputs, not a routing result. It excludes fees, minimum HTLC amounts, CLTV conditions, the next hop and other policies. Negative headroom or inconsistent inputs should be treated as a problem in the record, not as permission to add more parts.
| Synthetic bottleneck | Free slots | Usable outbound liquidity, sats | In-flight value headroom, sats | Maximum new 10,000-sat parts |
|---|---|---|---|---|
| Count | 1 | 500,000 | 800,000 | 1 |
| In-flight value | 20 | 500,000 | 20,000 | 2 |
| Liquidity | 20 | 15,000 | 800,000 | 1 |
| Equal modeled bounds | 10 | 100,000 | 100,000 | 10 |
The first row has a configured count limit of 30 and 29 pending HTLCs. Its 500,000 satoshis could fund fifty equal parts in isolation, and its value headroom could hold eighty. The single free slot still limits the model to one additional part.
In the second row, the in-flight limit is 300,000 satoshis and the existing in-flight amount is 280,000. Twenty count slots remain, but only two new parts fit the remaining 20,000-satoshi value headroom. Adding more local balance would not repair that particular bottleneck.
Splitting payments trades one constraint for another
A smaller part can fit a narrow liquidity or value window while consuming a slot of its own. Splitting one intended payment into many parts can therefore improve one constraint and worsen another. The useful record contains both the total value and the number of simultaneously outstanding components.
For example, a fictional 20,000-satoshi business payment could be represented by two 10,000-satoshi parts in the model. If only one slot is currently free, the table does not establish that both can be outstanding at once. It also does not prove that sequential settlement or another route is available.
A planner should not treat a channel's free-slot count as static inventory. Other operations and completions can change it. Keep the observation time and channel reference with the values, then refresh before relying on the estimate. A snapshot is a constraint check, not a reservation.
There is no single universal HTLC cap
The reviewed BOLT 2 rules distinguish channel types. For channels without zero_fee_commitments, the described maximum accepted count cannot exceed 483. With zero_fee_commitments, the corresponding limit is 114. A peer can negotiate a smaller limit within the applicable rules. [1]
Those protocol ceilings are not a claim that every channel offers either number to the user. The actual negotiated parameters and implementation support must be checked. A popular number repeated in a tutorial cannot replace a current channel record.
The worked example uses a limit of 30 precisely to avoid pretending that a protocol maximum is a typical configuration. Its purpose is to expose the count constraint even when the amount-based balance looks comfortable.
A temporary failure does not reveal the whole diagnosis
BOLT 4 describes temporary_channel_failure as a channel unable to handle the HTLC now but potentially able to handle it or another HTLC later. Too many in-flight HTLCs is one of several possible transient causes. The error alone should not be treated as proof of a slot shortage. [2]
Use the operator's available channel state and supported diagnostics to distinguish count saturation, value headroom, liquidity and other conditions. A retry policy should avoid converting every temporary error into an immediate burst of more parts. More attempts can consume resources while leaving the underlying constraint unchanged.
Conversely, the worksheet is not a recommendation to wait indefinitely. A payment deadline, alternative route or business fallback belongs to the application. The channel constraint tells the application what is currently unsupported by its evidence; it does not choose the commercial response.
What to preserve in a payment-capacity record
Record the channel and direction, negotiated count and value limits, pending count, in-flight value, usable liquidity and intended part size. Preserve whether amounts are in satoshis or millisatoshis: 10,000 sats equals 10,000,000 msats, so a missing conversion creates a thousandfold error.
DN's existing Lightning guide distinguishes local, remote and unsettled balances and mentions HTLC constraints. This article adds the explicit minimum-of-three capacity calculation and shows why extra liquidity cannot resolve every bottleneck. The downloaded CSV retains the inputs behind each limiting case.
Sources were reviewed on 5 December 2026. No channel was queried and no payment was sent. A sound capacity claim needs both value and count evidence, along with the remaining route conditions, before it can become a promise to a customer.
Use the worked example
Original DN synthetic worked example. All scenario inputs are hypothetical; no live transaction, return, quote or account is represented. Model Lightning HTLC count, in-flight value and directional liquidity separately; the smallest bound can stop a payment despite an available balance.
- Download the synthetic worked example (CSV)
- Download the source and method record (JSON, version 1.0.0)
To check the arithmetic and CSV/JSON agreement locally, save both files beside the Python verification script and run python3 verify.py q39.json. Python 3 is required; no third-party packages are needed. The check does not verify source claims or provider performance.
These are downloadable research records. They do not connect to an account, execute a trade or provide live market data.
Frequently asked questions
Can a channel have liquidity but reject another HTLC?
Yes. Its pending-count limit or in-flight-value limit can bind independently of usable liquidity. Other route conditions can also prevent completion.
Do all Lightning channels have 483 HTLC slots?
No. The reviewed BOLT rules distinguish ordinary and zero-fee commitment channel types, and actual negotiated limits can be smaller than the protocol ceiling.
Does temporary_channel_failure prove the slots are full?
No. Too many in-flight HTLCs is one possible transient cause. Diagnose with the applicable channel state and implementation evidence.
Continue the research
Optional research services and tools
The free example above can be used without buying a product. For a defined team question, the DN Research Desk offers separately agreed documentary briefs, source registers and worked examples. Scope, fee, delivery date and usage terms are agreed before work begins; an enquiry creates no payment obligation.
Commercial disclosure: DN’s own service and any referral relationship are separate from the research method. No provider paid for a favourable finding in this article.
Sources and review scope
Sources reviewed on 5 December 2026. Review dates are distinct from each source’s observation, publication and effective dates.
- BOLT 2: Peer protocol. Directional max_accepted_htlcs and max_htlc_value_in_flight_msat; 483 versus 114 channel-type ceilings. Evidence: Protocol specification.
- BOLT 4: Onion routing. Temporary channel failures can include too many in-flight HTLCs but are not unique to that cause. Evidence: Protocol specification.
- LND ChannelAcceptor API. Separate maximum HTLC count, in-flight value and reserve configuration fields. Evidence: Official documentation.
Corrections and limitations
To flag a possible error, use the DN contact route with this article’s URL, the disputed claim and the supporting source. The analysis is educational, not personalised investment, legal or tax advice. Documentation and synthetic examples do not establish realised returns or individual eligibility.




