Inbound and outbound, and why the asymmetry matters
A channel that you fund alone gives you all of the sending room and none of the receiving room, and it gives your peer the reverse. So a node can hold bitcoin in channels and still be unable to take a single payment. This lesson names the two sides, shows who needs which one, and lists the limits that BOLT 2 and BOLT 7 put on each. It condenses the liquidity section of Mastering the Lightning Network, chapter 12.
- 01 Channels are not accounts
- — Comfort reading an amount in satoshis
- Say which side of a channel a given payment needs room on
- Work out how much you can send and receive from a channel's two balances and its reserve
- Explain why funding a larger channel adds outbound and no inbound
Outbound liquidity is the part of a channel that you can send, and inbound liquidity is the part that you can receive. The two are the same capacity seen from opposite ends, so, before reserves and in-flight payments, every payment you send turns outbound into inbound by the same amount. A channel that you fund alone starts with all outbound and no inbound, which means you can pay at once and cannot yet be paid. This lesson shows who needs which side and which protocol limits apply to each.
One channel, two directions
The book defines the sendable part of a balance in one line, and the rest of this lesson uses it.
Liquidity is the part of a balance that can actually be sent across the channel in one direction. It equals the balance, minus the channel reserve, minus any pending HTLCs that the sender has committed.
Apply that to both ends of one channel. The numbers below are a worked example with round figures. They come from no real node, and they ignore the commitment transaction fee.3 Alice funds a 2 000 000 sat channel with Bob, and each side keeps a 1% reserve of 20 000 sats.1
| Moment | Alice local | Bob local | Alice can send | Alice can receive |
|---|---|---|---|---|
| Channel opens, Alice funded it | 2 000 000 | 0 | 1 980 000 | 0 |
| Alice pays 1 000 000 | 1 000 000 | 1 000 000 | 980 000 | 980 000 |
| Alice has paid 1 980 000 in all | 20 000 | 1 980 000 | 0 | 1 960 000 |
Alice’s inbound is Bob’s outbound, so the right-hand column is Bob’s local balance minus Bob’s reserve, and never less than zero. The capacity stays at 2 000 000 sats throughout.2 Only the line between the two balances moves.
Who needs which side
A payment uses one side of each channel that it crosses, and which side depends on your role.
| Role | Needs outbound on | Needs inbound on |
|---|---|---|
| Someone who pays | The channel to the first hop | Nothing, for this payment |
| Someone who gets paid | Nothing, for this payment | The channel from the last hop |
| A node that forwards | The channel it forwards out through | The channel the payment arrives on |
A forwarding node needs both at once, on two different channels. After a forward, its outbound on the outgoing channel has fallen and its outbound on the incoming channel has risen by about the same amount. That is why a router that is busy in one direction drains one channel and fills another.
Why you can create one side alone and not the other
You can create outbound without anyone’s help. You fund a channel from your own coins, and the funding amount starts on your side. In BOLT 2, open_channel carries funding_satoshis, and the receiver starts with the push_msat amount only. The book warns that a non-zero push_msat is a gift of money to your channel partner.
You cannot create new inbound alone. Spending moves outbound over to the remote side, so it creates inbound, but your total outbound across all channels falls by the same amount. Inbound that you did not pay for must come from funds on someone else’s side. BOLT 2 lets a peer that accepts a dual-funded channel add its own inputs to the funding transaction, so a peer can bring funds to the channel. The peer’s choice decides whether it does.
That difference is the asymmetry. Outbound costs you your own capital. Inbound costs you either your outbound or someone else’s capital. Four ways to get inbound liquidity lists your options for the second case.
Limits that apply on top of the balance
The two balances are not the only limit. The protocol adds four more, and each one can stop a payment that the balance would allow.
- Reserve. Each side keeps a minimum that it cannot spend.1
- Smallest and largest HTLC. The
open_channelmessage carrieshtlc_minimum_msat. A node publisheshtlc_minimum_msatandhtlc_maximum_msatin itschannel_update, and BOLT 7 requireshtlc_maximum_msatto be at most the channel capacity and at most themax_htlc_value_in_flight_msatit received from its peer. - Value in flight.
max_htlc_value_in_flight_msatcaps the total value of HTLCs that the peer may have outstanding with you. - Number in flight.
max_accepted_htlcscaps how many HTLCs the peer may have outstanding. BOLT 2 limits it to 483, or to 114 wherezero_fee_commitmentsapplies.
The public data carries these limits and fees, and it carries no balance. A channel_update has fields for fees, delay, and the HTLC minimum and maximum. It has no field for how the funds are split. A sender that wants to know whether a channel has room can only try, which lesson 5 follows through a whole path.
What this changes for the next lessons
Everything priced later in this course is a price for moving the line between local and remote, or for adding someone else’s funds to the remote side. Lesson 3 names the ways to do that. Lessons 4 and 5 show how a payment uses the line across several channels. Lesson 6 turns the price of moving it into a fee you can defend.
- 01 You hold three channels of 1 000 000 sats each, with every satoshi on your side. A merchant offers to pay you 500 000 sats in one payment. Can you take it?
No. Your remote balance is 0 in all three channels, so your inbound is 0 in all three. Total capacity of 3 000 000 sats does not help, because a payment arrives through one channel and needs room on the remote side of that channel. You first need inbound, by spending some of the balance or by getting a peer to put funds on its side.
- 02 A 2 000 000 sat channel stands at 30 000 sats local and 1 970 000 sats remote. Each side keeps a 1% reserve. How much can you send, and how much can you receive?
You can send 10 000 sats, which is your 30 000 minus your 20 000 reserve. You can receive 1 950 000 sats, which is your peer's 1 970 000 minus its 20 000 reserve. The two figures do not add up to the capacity, because the two reserves are held back. This ignores the commitment transaction fee and any HTLCs that are still pending.
- 03 Your channel is too small for what you need to receive, so you open a second, larger channel and fund it yourself. Why does your inbound stay at 0 in the new channel?
In the standard `open_channel` flow, the `funding_satoshis` amount starts on the funder's side. Your peer starts with only the `push_msat` amount, which you choose and which is a gift to the peer. A larger channel that you fund alone therefore adds outbound and no inbound. Inbound appears when funds sit on the peer's side, and the peer's own funding, or your spending, puts them there.
Notes
- In the original channel-opening flow,
open_channelcarries achannel_reserve_satoshisfield. It is the minimum that the other node must keep, and BOLT 2 suggests 1% of the channel total. In the newer dual-funded flow the field is gone, and BOLT 2 fixes the reserve at 1% of the total channel balance, rounded down, or at the dust limit if that is greater. A reserve that one side has not yet met at the start is allowed, as long as the protocol keeps moving toward meeting it.BOLT 2 - The capacity stays constant only for a channel that is not spliced. BOLT 2 defines splicing, which replaces the funding transaction with a new one so that funds can be added to a channel or taken out of it. It needs both peers to support it. Chapter 7 of the book, which says channels are funded by one partner only, predates both splicing and dual funding.BOLT 2, Channel Splicing
- The commitment transaction fee comes out of the funder's amount. That lowers what the funder can send, and the difference grows when on-chain fees rise. Where
zero_fee_commitmentsapplies, the fee is handled differently.BOLT 3, Fee Payment
Source & license
This page adapts Mastering the Lightning Network by Andreas M. Antonopoulos, Olaoluwa Osuntokun, René Pickhardt, licensed CC BY-SA 4.0. Adapted passages are marked in the text with a hairline rule and a source line. Changes: condensed, terminology aligned to this course's glossary, and the worked example replaced with round numbers that include the channel reserve.
This page is therefore also CC BY-SA 4.0. Copy it, translate it, teach from it, republish it under the same license, with attribution to the works above and to ln.university.