<p>Since 1ml is closed source I obviously cannot be 100% sure how it calculates the capacity of your node. But from my experience I can say that it does it in the same way as any other lightning node do it. </p>

<p>It takes the capacity of all payment channels which have been broadcast by the gossip protocol and have been received by the node in question and adds them up. This should be handled in the same way on your casa node. In particular 1ml has no chance of adding private channels (since they are private and not announced on the gossip protocol)</p>

<p>I believe the difference of the amount that you see comes from a different understanding of what capacity means. Let me elaborate: </p>

<ul>
<li>The <strong>capacity</strong> of a payment channel is the amount of bitcoin that has been provided by the person who opened the channel (as long as dual funded channels are not implemented).</li>
<li>Your <strong>balance</strong> (or your <strong>funds</strong>) are the amount of bitcoin that you own in that particular channel. </li>
</ul>

<p>So I believe what happened is that after your node was online for some time other nodes opened channels to your providing your node with more capacity (which is depicted on 1ml) but your funds / balance has stayed the same since those nodes only opened a channel but did not send money to you. 
Therfor when you looked on the user interface of your casa node you saw a different amount because you most likely confused capacity with funds / balance. </p>

<p>In particular 1ml can only see the capacity of the channels and not the actual funds that you own as that data is private to you (and for each channel to your channel partner). Also I would highly doubt that you have earned more routing fees than a couple satoshis. The node of Alex Bosworth has some high routing fees configured and despite being online for a long time and very well connected the routing fees have not been high. </p>

CC BY-SA 4.0
2019-01-02T12:29:00.467Z
Thanks Rene, that is very helpful, and clearly explained.
Jane 
CC BY-SA 4.0
2019-01-02T08:48:22.657Z
2019-02-11T08:03:49.353Z
2019-02-11T08:03:49.353Z
Rene Pickhardt
<p>I have set up a Casa node, using lnd, and opened 15 payment channels. The capacity of my channels, after almost 3 weeks, is exactly what it was when I opened the channels, leading me to believe that I have earned no fees.
However, when I look at 1ML.com, my capacity is 22% higher. Are these fees generated (I hope!) or is my node including the capacity of some private channels that my node is linked to? In short, how does 1ML.com calculate the capacity of my node?</p>

<lightning-network><nodes><lightning-network-daemon><lightning-routing>
How is node capacity determined on 1ML.com?
Jane 
# How is node capacity determined on 1ML.com?

(Asked by: username_0 on 2019-01-02)

I have set up a Casa node, using lnd, and opened 15 payment channels. The capacity of my channels, after almost 3 weeks, is exactly what it was when I opened the channels, leading me to believe that I have earned no fees.
However, when I look at 1ML.com, my capacity is 22% higher. Are these fees generated (I hope!) or is my node including the capacity of some private channels that my node is linked to? In short, how does 1ML.com calculate the capacity of my node?

**Tags:** lightning-network, nodes, lightning-network-daemon, lightning-routing


---

## 1 answers

### Answer by username_1 on 2019-01-02. Score: 4

Since 1ml is closed source I obviously cannot be 100% sure how it calculates the capacity of your node. But from my experience I can say that it does it in the same way as any other lightning node do it.

It takes the capacity of all payment channels which have been broadcast by the gossip protocol and have been received by the node in question and adds them up. This should be handled in the same way on your casa node. In particular 1ml has no chance of adding private channels (since they are private and not announced on the gossip protocol)

I believe the difference of the amount that you see comes from a different understanding of what capacity means. Let me elaborate:

* The **capacity** of a payment channel is the amount of bitcoin that has been provided by the person who opened the channel (as long as dual funded channels are not implemented).
* Your **balance** (or your **funds**) are the amount of bitcoin that you own in that particular channel.

So I believe what happened is that after your node was online for some time other nodes opened channels to your providing your node with more capacity (which is depicted on 1ml) but your funds / balance has stayed the same since those nodes only opened a channel but did not send money to you.
Therfor when you looked on the user interface of your casa node you saw a different amount because you most likely confused capacity with funds / balance.

In particular 1ml can only see the capacity of the channels and not the actual funds that you own as that data is private to you (and for each channel to your channel partner). Also I would highly doubt that you have earned more routing fees than a couple satoshis. The node of Alex Bosworth has some high routing fees configured and despite being online for a long time and very well connected the routing fees have not been high.

> **Comments:**
> **username_0**: Thanks username_1, that is very helpful, and clearly explained.  

---

