0

Bitcoin verifies about 220 million transactions a year. Even when using Lightning, wouldn't I want to verify my Bitcoins at least once a year on the Blockchain? With 8 billion humans verifying once a year, wouldn't it take on average 40 years to get verified in the blockchain? What if you're forced to close a Lightning channel?

Wouldn't this make the Bitcoin use not secure anymore?

3 Answers 3

3

Yes.

But with the coming taproot upgrade and schnorr signatures we can create a single Bitcoin tx that is n - of - n multisig which enables us to do multiparty channels with n participants in 1 transaction. So if you take n=40 we can onboard 8bn people in 1 year. If you choose n=480 we can do it in 1 month. So let's keep fingers crossed for that Bitcoin upgrade.

4
  • 2
    Isn't that severely difficult under the ln-penalty paradigm? Wouldn't we need SIGHASH_ANYPREVOUT?
    – Murch
    Commented May 22, 2021 at 22:49
  • 1
    As far as I know Eltoo channels would most certainly make communication and handling of multiparty channel state easier. So yes this additional upgrade would come in handy but I believe ln-penalty would work for multiparty channels if it had to. Commented May 22, 2021 at 23:22
  • 2
    Sorry to sound pessimistic, but even setting up channel factories and then having smaller subgroups of users be able to update their substates bilaterally seems like a major challenge for 40 new users, let alone 480—even with Eltoo, but with LN-penalty it sounds nigh impossible.
    – Murch
    Commented May 22, 2021 at 23:47
  • 2
    Aren't such huge n-of-n channels more likely to fail to update assuming O(1) failure rate of each user? If each user fails (loses key, gets hacked) with probability p, 0<p<1, then the success probability for a channel update is (1-p)^n which is exponentially decaying with growing n. Thus, the probability of forced closures (on-chain) for fund recovery is 1-(1-p)^n, very likely. Thus, IMHO, such large channels will cause many on-chain transactions. There might be an optimal trade-off in terms of n between 2-party channels with high dependability and n-party channels with low dependability. Commented May 24, 2021 at 5:01
2

A lot depends on how you define "scalable".

If your question is: do we have ready-to-go technology, which without further on-chain Bitcoin protocol changes, is sufficient for making everyone on the planet to have personal Lightning channels on Bitcoin, the answer is almost certainly no (I'm not an expert on Lightning).

But scalability is generally understood to be more a question of "how do resource requirements scale in function of usage", and for that, Lightning is a significant improvement compared to purely on-chain payment transactions (while coming at the cost of additional assumptions like liveness: the ability for participants to get their settlements timely included on chain). That doesn't mean further technological improvements won't be necessary for further growth.

0

Using eltoo along with a SIGHASH_ANYPREVOUT Bitcoin upgrade and channel factories this is certainly doable. At this point you are not dealing with lightning penalties anymore nor are you concerned with the overhead of previous state transactions that lightning nodes currently have to manage and store. In addition, channel factories with 20 users is likely a max you would want to deal with due to issues of people going offline. However, channel factories allow channel re-balancing and allow people to open multiple channels at once, increasing their connectivity. A 20 person channel factory opening via a single taproot address allows 100 channels to be opened. Yes, people going offline is problematic when you consider the fact that people in channel factories have channels opened with multiple people, then waiting a day or two for the other person to come back online is feasible. In addition, with channel factories you can splice out the non-responsive person and continue with a new hook transaction.

As for onboarding, you can onboard 6 billion people in 90 days with just 20 person channel factories. If the running narrative is "Get the world onboard as quickly as possible" then protocols can work with exchanges to achieve this with the least transactions possible. Consider 20 people using an wallet app to connect and form a channel factory. They could very easily work with an exchange like Coinbase to get their fiat converted into BTC. The 20 people would combine their 20 public keys into the 20 of 20 multisig hook transaction address and give it to coinbase so they can send the sum of all their funds to the new address. This would effectively onboard 20 brand new people onto the Bitcoin/Lightning network at once via factories.

Given that hundreds of thousands of people would be doing this with the exchanges since "everyone wants to get on bitcoin", the exchanges would be incentivized to minimize their fees by constructing large transactions. They could construct a 1 to 23,250 P2TR transaction that was the size of an entire block. With the sum of fees from all the participants, the exchanges massive transaction fee would be more than enough incentive for the miners to mine it.

Given than each of the 23,250 outputs represents 20 people via a 20of20 multisig channel factory hook transaction, then that would mean a single Bitcoin block could onboard 465,000 brand new people onto the network. At this rate you would be able to onboard 6 billion people in 90 days. (Note: I calculated the max transaction output of 23,250 using the bitcoin core max weight size of a block at 3996000WU)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.