Hacker News new | ask | show | jobs
by sunsu 3030 days ago
What does "capacity" mean in this context?
3 comments

Lightning Network seems very confusing. It's unclear to a casual user what "capacity" is and what it means to them. Or what any of this means, really.
I don't think the end user needs to know anything about capacities or other technical details the same way a user doesn't need to know their internet speed.

The end user experience will be having a hot wallet in your computer/phone or online service like coinbase that will handle all the routing, channel setup, etc for you. Like when you use bittorrent you don't need to manually connect to peers, the bittorrent client handles that for you.

I found this article very helpful in explaining generally what happens in the lightning network. https://arstechnica.com/tech-policy/2018/02/bitcoins-lightni...
Alice and Bob each commits $5 to open a channel. The capacity of that channel is $10. They can make as many transactions as they want between them
Where does the $10 come into play? Can they only transfer up to $10's worth of currency?
From what I understand--yes. They would need to "settle" their transfer on the blockchain and then open a new channel. The solution to this from what I've read is an IOU mechanism and a third party that has a channel with almost everyone. If the third party is rich then each channel is theoretically huge.

ALICE --(IOU to bob for 10k)---> CAROL --(IOU from alice for 10k)--> BOB

I'm a bit of a BTC novice here, so help me understand something: Does this not mean that on the LN there will necessarily be BTC that's essentially "floating" in the network, that hasn't settled on the Blockchain? What does this mean for liquidity and the integrity of the network in general?
Yep basically. BTC is tied up in channels and when you want to take it out of the lightning network you write a transaction to the actual block chain. Though with the way lightning routing works you can keep your money in the network for months or even years making hundreds of transactions. It's kind of like having a debit account (bitcoin lightning) and a savings account (bitcoin stored in cold storage) with your bank.
What happens to the engine trustless selling point of bitcoin when the only plausible scalability solutions entail reintroducing trusted third parties?
The great thing about lightning is that it doesn't introduce trusted third parties: it only requires that nodes have commited funds.
You don't need to trust the third parties, that's the point.
The sum of all channels capacity measured in satoshis.
what does capacity mean in that context?
When a user opens a channel it has to lock up some BTC. That is called channel capacity because for payments to be routed through that channel (even other people's payments) that channel at least needs to have the same or more amount of BTC available. If you want to route a bigger payment you need to find a channel with more capacity.
It's the amount of bitcoins currently in the network
So it's not a limit, it's the amount currently in the channel?
Think pre paid debit card split between two people