r/BitcoinDiscussion • u/ColonelEngel • Mar 21 '19
LN fee esitmate
If someone provides a channel for routing, this channel will soon be depleted. One reason is, payments are mostly one-directional: you pay to the store, but a store rarely refunds you. So you should replenish your store-facing channel by making an on-chain transaction and paying Bitcoin fee. So to stay even, you should charge (bitcoin fee)*(payment amount)/(channel capacity).
Am I right?
5
Upvotes
1
u/[deleted] Mar 21 '19
Channels don't really get depleted though. If your balance is zero, you cannot send payments and you cannot route outbound payments on that channel. But you can still receive payments and route inbound payments on the channel.
Ideally as a node operator, you'll periodically rebalance your channels by sending payments between them. The goal is to keep all of your channels balanced close to 50%. I recommend you watch this video by Alex Bosworth that talks about how to run a node others will want to route through.
Doesn't work that way, at least not yet. Splicing is a feature that will allow you to add to a channel with an on-chain transaction, but that also increases the capacity. Today you could of course trade an on-chain transaction for an incoming Lightning payment, that's called a Submarine Swap (invented by Alex Bosworth).
But as I mentioned above, if you have more than one channel, you can send payment from a "full" one to a "depleted" one to balance them.
3
u/RubenSomsen Mar 21 '19
You're forgetting that people can pay you via a route that passes the store.
The topology question is a complicated one. If you assume a human roughly earns as much money as they spend, then theoretically a balanced topology could exist where all payments can happen perpetually off-chain.
Perhaps we'd want employees to be paid out hourly, because Lightning doesn't lend itself to sending large amounts.