Why we need “Layer Two” solutions

Published:

bitcoin-lightning

We want all the world to use Bitcoin, yet Satoshi already remarked that it was not suited for microtransactions in August 2010:

Bitcoin isn’t currently practical for very small micropayments. Not for things like pay per search or per page view without an aggregating mechanism, not things needing to pay less than 0.01. The dust spam limit is a first try at intentionally trying to prevent overly small micropayments like that.

Bitcoin is practical for smaller transactions than are practical with existing payment methods. Small enough to include what you might call the top of the micropayment range. But it doesn’t claim to be practical for arbitrarily small micropayments.

– Satoshi

He added the formal MAX_BLOCK_SIZE in September 2010 and in March 2013, Mike Hearn claimed to have received the following e-mail in April 2009, mere months after the Bitcoin blockchain launched:

Hi Mike,

I’m glad to answer any questions you have. If I get time, I ought to write a FAQ to supplement the paper.

There is only one global chain.

The existing Visa credit card network processes about 15 million Internet purchases per day worldwide. Bitcoin can already scale much larger than that with existing hardware for a fraction of the cost. It never really hits a scale ceiling. If you’re interested, I can go over the ways it would cope with extreme size.

By Moore’s Law, we can expect hardware speed to be 10 times faster in 5 years and 100 times faster in 10. Even if Bitcoin grows at crazy adoption rates, I think computer speeds will stay ahead of the number of transactions.

I don’t anticipate that fees will be needed anytime soon, but if it becomes too burdensome to run a node, it is possible to run a node that only processes transactions that include a transaction fee. The owner of the node would decide the minimum fee they’ll accept. Right now, such a node would get nothing, because nobody includes a fee, but if enough nodes did that, then users would get faster acceptance if they include a fee, or slower if they don’t. The fee the market would settle on should be minimal. If a node requires a higher fee, that node would be passing up all transactions with lower fees. It could do more volume and probably make more money by processing as many paying transactions as it can. The transition is not controlled by some human in charge of the system though, just individuals reacting on their own to market forces.

Eventually, most nodes may be run by specialists with multiple GPU cards. For now, it’s nice that anyone with a PC can play without worrying about what video card they have, and hopefully it’ll stay that way for a while. More computers are shipping with fairly decent GPUs these days, so maybe later we’ll transition to that.

– Mike Hearn quoting Satoshi

What followed was an intense fight over the block size limit but this fight now is history and Bitcoin kept the 1MB limit in place.

1MB per block means 6MB per hour, 144MB per day and 51.8GB per year. How much block space is that per human being on average? Divided by 8 billion … that’s 6.5 byte per human per year.

A typical transaction weighs 212 bytes.

212 / 6.5 … that’s 33. Humans could do on average one transaction every 33 years.

If on the other hand, we wanted to do an average of 5 transactions per person per day, personal demand would be 33 * 360 * 5 = 59400 times higher. That would mean either of:

  • a block size of 60GB. Every ten minutes.
  • only one in 60k humans can use Bitcoin. A pretty small club.

Five transactions per day per person is probably the order of magnitude the current financial system handles between Visa, PayPal, bank wires and cash payments. So how do we get there with Bitcoin??

A multi-layered system

The early internet worked much like Bitcoin today: What one sent via the internet was broadcast to all the participants on the network. At the time those were only two more participants and then 5 and then 20 but in order to scale out to millions and billions of users, it was clear from the start that sending data via broadcast wasn’t sustainable.

Today’s internet “routes” messages as efficient as possible from the sender to the recipient, so Alice sending to Bob doesn’t affect Carol sending to Dave and the protocols used are built in layers: The application developer doesn’t need to know about network interface voltages or wavelength division multiplexing in optical cables or how to avoid data loss when the user is driving around, connecting to varying radio towers while communicating. All these issues are resolved by more basic layers that provide the higher layers a simpler handling of the network.

In 2016, Thaddeus Dryja of MIT’s Digital Currency Initiative together with Joseph Poon of the University of Southern California published “The Bitcoin Lightning Network” paper. In it they claim:

Clearly, achieving Visa-like capacity on the Bitcoin network isn’t feasible today. No home computer in the world can operate with that kind of bandwidth and storage. If Bitcoin is to replace all electronic payments in the future, and not just Visa, it would result in the outright collapse of the Bitcoin network, or at best, extreme centralization of Bitcoin nodes and miners to the only ones who could afford it. This centralization would then defeat aspects of network decentralization that make Bitcoin secure, as the ability for entities to validate the chain is what allows Bitcoin to ensure ledger accuracy and security. 1

The premises for the paper are prescient because it anticipated future congestion in the Bitcoin network. Such was further evidenced one year after the paper’s publication when in 2017, the Bitcoin network for the first time experienced a sustained period of full blocks resulting in an ever growing backlog of unconfirmed transactions.

Caption: Bitcoin Network Congestion between 2017-2018
Source: charts.woobull.com / @woonomic

This backlog - the “mem-pool” can only be “skipped” by paying a higher transaction fee than all the others - and so users paid. At times a lot! The average transaction fee on December 18, 2017 reached $42.67. Suffice to say, that paying for your $5 coffee with a transaction fee of $42 is not an ideal characteristic for the future of money.

On March 15, 2018 the lightning network’s mainnet was launched.

Daily median transaction fee statistics per transaction and block, excluding coinbase transaction (miner reward).
Source: https://bitcoinvisuals.com/chain-fees-tx-usd

A recent working paper entitled “The Lightning Network: Turning Bitcoin into Money” by Anantha Divakaruni and Peter Zimmerman, published in June 2022, notes 2:

We can assess the economic significance of reducing Bitcoin congestion by posing the following counterfactual question: if during 2017, the LN had existed and been the size it was at the end of our sample, by how much would Bitcoin congestion have been lowered? Our results suggest that the mempool count would have been 93 percent lower, mempool fees 96 percent lower, and the proportion of low fee transactions 197 percent higher. These numbers demonstrate that the LN can potentially have a substantial impact on blockchain congestion.

Their conclusion:

We show that usage of the Lightning Network is associated with reduced mempool congestion in Bitcoin and with lower fees. Our findings suggest that the off-chain netting benefits of the Lightning Network can help Bitcoin to scale and function better as a means of payment.

Lightning Growth and Adoption

This graphic created by Arcane Research, shows the growth of the Lightning Network ecosystem:

Lightning Network Ecosystem The State of the Lightning Network Volume 2

Arcane Research, in a report published on April 7, 2022, entitled The State of the Lightning Network Volume 2, observed that user adoption and growth markedly increased between 2021 and 2022:

“By gathering actual transaction data to estimate the use of the Lightning Network, we observe that adoption is rising quickly. The number of payments has roughly doubled over the last year, while the value of the payments has increased by more than 400%, measured in US dollars.” 3

They go on to claim in the same paper that:

We estimated that just over 100,000 users had access to Lightning payments globally last summer. In March 2022, we estimate that more than 80 million people had access to Lightning payments on an installed application.

Everything from wallets, gaming, exchanges, neobanks, node services, podcasting, communities, finance, and liquidity comprise the ecosystem which will further drive the growth of Bitcoin.

Arcane Research based these estimates on the integration of lightning in three primary apps, Chivo, Cash App and Paxful. Note, that these do not count private channels and invisible nodes. Cash App announced lightning integration on February 8, 2022.

Payment Volume and Payment Count on the Lightning Network.
Arcane Research

Source: Arcane Research

Timeline of Bitcoin Lightning in El Salvador

No other country has made bold steps to incorporate Bitcoin as legal tender than El Salvador. This Central American nation of 6.4 million people is becoming a financial laboratory and all eyes are on it. Detractors criticize President Bukele for adopting a policy that puts it at odds with the IMF. Meanwhile, supporters and proponents of Bitcoin see the country as an important proof-of-concept that will demonstrate the capabilities of the Lightning Network on a national basis.

Here is as timeline of pertinent events concerning El Salvador’s Bitcoin adoption:

Conclusion

Bitcoin has much potential for growth with Second Layer protocols and currently, the Lightning Network is easily the most successful such protocol. But it is by far not the only tool to grow Bitcoin beyond its limitations of the base layer. Of course many transactions already happened off-chain even before the Lightning Network - when trades on exchanges happen, Bitcoins get booked from one account to the other - but that’s custodial and thus goes against the spirit of being one’s own bank - a Sovereign Individual.

Yet there are other arrangements that blur this distinction between custodial and non-custodial, promising scale such as “The Liquid Network” and “Fedimint”. But those we have to leave for another day.


  1. Dryja, T., & Poon, J. (2016, January 14). Lightningnetwork/paper: Lightning network paper. GitHub - Lightning Network. Retrieved September 1, 2022, from github.com/LightningNetwork/paper 

  2. Divakaruni, A., & Zimmerman, P. (2022, June 21). The Lightning Network: Turning Bitcoin into Money. Retrieved September 3, 2022, from papers.ssrn.com 

  3. The State of Lightning Volume 2. Arcane Research. (2022, April 7). Retrieved September 7, 2022, from arcane.no/research/reports/the-state-of-lightning-volume-2 

Tests performed by Leo Wandersleb, Daniel Andrei R. Garcia