> What are the expected size of these transactions?
LN deposit/close transactions don't carry any information about LN payments made on the channel, so their size doesn't grow with usage. They are simply 2-2 multisig transactions, so somewhat larger than the minimal 1-in-1-out tx, but probably (didn't check this) not larger than median bitcoin transaction.
> current argument there will be too much competition for nodes hence people will automatically set low or no fees
it's not as easy, there are multiple incentives and discentives working here. lowering fees will bring more volume but increase cpu/io load. higher volume also means you need to have more capacity on your channels, which essentially means lots of funds in a hot wallet - a target for hackers. high volume also means you might become target for authorities wanting to track payments in LN. et cetera.
> With LN nodes charging fees on top of it, businesses now will have two fees to account for?
technically yes, but the fee for deposit transaction is paid only once per channel and merchants (usually) won't be involved with it. it's reasonable to assume that users will mostly fund channels with larger nodes because that brings better connectivity (you don't want to have a channel with starbucks, mcdonalds and burger king, you want single channel with a node that invested in having a lots of channels).
as for the three fees you listed - yes (but not necessarily to miners?). the assumption is that you will rarely be opening and closing channels, just like you're rarely opening and closing a new debit card. you'll open with a reliable node that makes you routable, you'll once in a while deposit more funds and eventually you will close the channel. in between you can have bajillion transactions for which you will pay close to zero fees.
Thanks for the other clarifications but this part leaves me confused.
> mostly fund channels with larger nodes because that brings better connectivity (you don't want to have a channel with starbucks, mcdonalds and burger king, you want single channel with a node that invested in having a lots of channels).
Lets take an example. Bob wants to pay Starbucks for his coffee. Alice is running a node which has a channel open to Starbucks.
Now he can open a channel to Starbucks directly and pay for his coffee. But that is time/fees consuming so he will pay Alice, who will then pay to Starbucks on his behalf?
If that is true, doesn't that put too much power in Alice's hand? And if there are some nodes which have heavily invested in cpu/io and coins to their channels, wont they effectively control a large part of the transaction volume and hence make the network more decentralized?
> you will rarely be opening and closing channels, just like you're rarely opening and closing a new debit card.
I get confused every time this analogy is brought up. Sure, I don't need to open/close debit cards but those cards are loaded automatically when I get my salary/income. And the money is not tied, I can move it around as much as I want.
On the other hand, again, as per my understanding LN requires me to commit an amount and I have to make do with it until the amount runs out. So, its more like a prepaid gift card with fixed commitments and a reload feature.
> If that is true, doesn't that put too much power in Alice's hand? And if there are some nodes which have heavily invested in cpu/io and coins to their channels, wont they effectively control a large part of the transaction volume and hence make the network more decentralized?
what do you mean by "power"? yes, there will be nodes handling more transactions than other nodes, but that in no way prevents you from using other nodes or even investing into opening channels yourself and competing.
> those cards are loaded automatically when I get my salary/income. And the money is not tied, I can move it around as much as I want.
not everybody carries a debit card connected to their main bank account. and those that do usually have daily limits on how much they can spend, so you can't really move it around as much as you want. similar to that, not every BTC holder stores their BTC in hot wallet. funding your debit card is similar to funding your hot wallet which is similar to funding your LN channels.
don't take the analogy too far though. point is that LN allows you to do is micropayments without flooding the blockchain. there are tradeoffs involved. that's it.
LN deposit/close transactions don't carry any information about LN payments made on the channel, so their size doesn't grow with usage. They are simply 2-2 multisig transactions, so somewhat larger than the minimal 1-in-1-out tx, but probably (didn't check this) not larger than median bitcoin transaction.
> And how does Segwit work for these transactions
those are always pay-to-witness-script-hash transactions, so they don't even work without segwit: https://github.com/lightningnetwork/lightning-rfc/blob/maste...
> current argument there will be too much competition for nodes hence people will automatically set low or no fees
it's not as easy, there are multiple incentives and discentives working here. lowering fees will bring more volume but increase cpu/io load. higher volume also means you need to have more capacity on your channels, which essentially means lots of funds in a hot wallet - a target for hackers. high volume also means you might become target for authorities wanting to track payments in LN. et cetera.
> With LN nodes charging fees on top of it, businesses now will have two fees to account for?
technically yes, but the fee for deposit transaction is paid only once per channel and merchants (usually) won't be involved with it. it's reasonable to assume that users will mostly fund channels with larger nodes because that brings better connectivity (you don't want to have a channel with starbucks, mcdonalds and burger king, you want single channel with a node that invested in having a lots of channels).
as for the three fees you listed - yes (but not necessarily to miners?). the assumption is that you will rarely be opening and closing channels, just like you're rarely opening and closing a new debit card. you'll open with a reliable node that makes you routable, you'll once in a while deposit more funds and eventually you will close the channel. in between you can have bajillion transactions for which you will pay close to zero fees.