Blog articles

Bitcoin Lightning Network: Nodes, Stats, Transactions Explained
SUMMARY
March 12  |  11 min read

Bitcoin Lightning Network: The System And Its Criticisms Explained

The Coin360 Editorial Team

This high-volume, low-latency scalability solution is considered brilliant by some, and a scam by others. What is the Lightning Network? How does it work, how can you use it, and what are critics and supporters arguing about? Read our summary below.

What is the Lightning Network?

The Bitcoin Lightning Network (LN) is an off-chain, layer 2 scalability solution for Bitcoin. It is essentially a network of participants that connect through off-chain payment channels in order to settle high-volume micropayments — tiny, everyday transactions, like payment for a cup of coffee — in a quick and cheap way. It is, in theory, “capable of millions to billions of transactions per second across the network,” and allows for “exceptionally low fees.”

For further information, visit the Lightning Network’s official website, read its whitepaper, or study its stats.

But, before you do that — read our summary below.

Current stats

At the time of writing, the Lightning Network counts:

  • 7,210 nodes (over +250% growth in the past 2 months)
  • 34,363 payment channels
  • Canada, the U.S., Holland, and Germany concentrate the most channels and nodes
  • Ƀ774.65 network capacity
  • Ƀ0.203 average node capacity
  • 1 sat median base fee ($0.000039063)
  • 0.000001 sat median fee rate ($0.000000000039063)

Check up-to-date stats on 1ml.com, the Lightning Network Search and Analysis Engine.

History

Origin

The Lightning Network was first proposed in 2015 by Joseph Poon and Thaddeus Dryja, prompted by the realization that Bitcoin, by itself, “cannot cover the world’s commerce anytime soon” (see the whitepaper, released Jan. 14, 2016).

To put things into perspective, at the time of writing, Bitcoin is only capable of between 3–4 transactions per second, has an average block size of around 1 MB, a median transaction confirmation time of between 5 and 10 minutes with a fee, and people are paying an average of $35 in fees. Evidently, paying a $3 cup of coffee, waiting ten minutes or more at the cash register and paying $30 in transaction fees is not a viable scenario.

Implementations

For a more extensive history of the Lightning Network’s first implementations, we recommend Aaron van Wirdum’s History of Lightning.

Implementations of the LN for the Bitcoin Testnet and experimental ones for the Bitcoin Mainnet have been around since 2015, developed by companies such as Poon and Dryja's Lightning, Blockstream, Blockchain, ACINQ, Bitfury and Lightning Labs.

The very first to begin work on an implementation was Linux kernel developer Rusty Russell, hired by Blockstream to develop c-lightning: an open, lightweight implementation of the Lightning Network protocol in C (v0.7 launched on Mar. 1, 2019). The start-up also built Lightning Charge, an API for accepting Lightning payments.

However, it was Lightning Labs, with a $2.5 million seed investment round (including investors like Twitter CEO Jack Dorsey), who first released a mainnet Lightning Network implementation on Mar. 15, 2018. It was a beta version of Lightning Network lnd, now lnd 0.4 (Lightning Daemon). Lightning Labs also developed a product called Neutrino, which helps users connect to the LN from their phones.

bitcoin lightning network node, transactions, stats

Lightning Labs co-founder and CEO, Elizabeth Stark, announces Ind 0.4 beta release on Bitcoin mainnet.

On Mar. 28, 2018, ACINQ launched a Scala language implementation called eclair.

C-lightning, eclair, and Ind are fully interoperable.

In Jan. 2019, Bitfury released a suite of Lightning Network business products called the Lightning Peach, to enable individual retailers and payment processors to add support for LN payments into their existing infrastructure for e-commerce services (via a web-based Peach API).

DDoS attack

On Mar. 20, 2018, the Lightning Network faced a Distributed Denial of Service (DDoS) attack that put 200 nodes offline (at the time, the network only had 1,050 nodes, and was reduced to 870).

How does the Lightning Network work?

The following is a simple introductory explanation. For deeper technical explanations at various levels of difficulty, we recommend you check the Lightning Network developer community resources here.

Although it is a separate entity from the main Bitcoin blockchain, the Lightning Network depends on the blockchain’s transactions and native scripting language to work. Basically, instead of using the blockchain to record payments, it relies on it as an arbiter, voiding the need for a trusted third party. How?

Bidirectional payment channels

A bidirectional payment channels is, in essence, a smart contract. More specifically, 2-of-2 multisig address: an address that two parties send funds to and that requires both parties’ signatures in order to spend its funds.

You can think of it as an off-chain Bitcoin balance sheet between two users. If a user increases the balance on one side, the balance of the other side will decrease by the same amount. This can be done as many times as they want, without ever recording these transactions on the blockchain. What’s the point? All these updates are like “off-chain transactions” that require no fees nor block confirmation time. In this sense, the blockchain’s power is used not to record payments, but to be an arbiter between two parties while they agree on a final balance between them.

When the users are done updating their balance, they can settle their payment channel by signing an exit transaction. That signed transaction (the most recent one) will be broadcast to the network. Each party will receive the appropriate amount registered in their balance.

What makes it a network?

There is no need to open a new payment channel each time you want to transact with somebody new. Transactions on the Lightning Network are encrypted and routed from the sender to the receiver via intermediate nodes, using a tor-like onion routing protocol. Currently, the node TrueVision.club has the highest concentration of channels — 1103 (check updated stats here).

What does this mean? It means that Alice can send payments to Charlie without having to create a direct channel with him, as long as there is a network route between them that contains enough balance. For example, if Alice has an open payment channel with Bob, and Bob has a channel with Charlie, she can send the payment through Bob. Ideally, all network users are interconnected through only few nodes.

lightning network explained

A visualization of the Lightning Network nodes and channels, courtesy of ACINQ

Lightning Network Nodes

Nodes runners are incentivized by the small fees that users pay to make transactions using one of their connections.

In order to run an LN node, you must run a full Bitcoin node. The former is dependent on the latter. For instructions on how to carry out this process, you can refer to this video (or any of the many available online).

How can I use the Lightning Network?

In the interest of exemplifying the use of the Lightning Network for purchases, we will explain two use cases: access to the LN through BlueWallet (iOS or Android) and through Bitrefill.

Through BlueWallet, you can access online stores that connect to the Lightning Network. Select a store and item, and confirm that you will pay through the LN. A QR code will then be presented. Open your regular crypto wallet and scan the QR code to send the payment. In a matter of second (or less) you will receive confirmation that your order has been placed.

Through Bitrefill you have the option to pay for subscriptions, top up your phone, and more. Select a product from the available options and select payment through the Lightning Network. Again, open your wallet, scan the QR code, and send.

Note that in using products like BlueWallet and Bitrefill, you are transacting through the nodes they have set up. This illustrates the degree of centralization that the Lightning Network has. Read more about the controversy surrounding this below.

The following have been pointed out as the Lightning Network’s main disadvantages:

Online payments only

On the Lightning Network, payment receivers must be online to get paid. Many regard this as a drawback.

Micropayments only

The network is powered by many multi-signature wallets, and there is a very low chance that these will hold enough funds to act as intermediaries for large payments. Using the LN is not recommended to users that wish to send large amounts.

Censorship risks

Many detractors have claimed the Lightning Network encourages centralization in payment hubs and even censorship. We discuss arguments and counterarguments below.

Crypto investor Roger Ver has accused the Lightning Network of enabling censorship:

lightning labs – lightning network stats

Crypto investor Roger Ver voices his criticism for the Lightning Network

Another user clarified what Ver’s tweet is referring to. As it appears in the visualizations provided, Ver’s node is completely disconnected from the network (follow the thread to see a closeup).

how does lightning network work

In this thread, user ArminvanBitcoin provides a visualization of the Lightning Network that shows Roger Ver’s node is not connected to anybody.

However, as a counterargument, the CTO of CasaHODL, Jameson Lopp, has responded: “If no one wants to voluntarily interact with you, that's not censorship...”

A heavier counterargument is that the network cannot admit censorship because payments are encrypted: no one can see where the money is coming from or where it’s going.

Is there a risk it could ruin Bitcoin?

Some have argued that the Lightning Network could harm, or even destroy, the Bitcoin mainnet (you can read a postulation of this argument here). Crypto billionaire, Erik Finmann, has tweeted a video where he claims Bitcoin is dead, and that the Lightning Network is, in part, responsible because it “turns Bitcoin into Visa and Mastercard, putting it in the hands of Silicon Valley.” This argument is closely connected to the centralization argument, which is perhaps the strongest of all the arguments against the network (or at least the most popular).

A common counterargument is that the Lightning Network is a layer-2 network: although it relies on the base blockchain layer, it does not affect it. The Lightning Network can “safely fail without any danger to Bitcoin as we know it”. This argument is expressed by one of the LN’s most enthusiastic defenders, YouTuber Ivan on Tech, here.

Is the Lightning Network Centralized?

There has been much debate surrounding the degree of centralization of the Lightning Network. LN detractors’ main argument is that the network will inevitably become centralized around hubs.

The image below represents a software engineer and moderator for Bitcoin Stack Exchange’s fears about LN centralization back in 2017. In the article, he specifies that the real network most probably resembles “at least a mixture between the "Decentralized" and "Distributed" topologies.”

lightning network stats, nodes

An interesting counterargument is that while the Lightning Network is admittedly centralized to some degree, “so is everything”. The main idea is that centralization is a spectrum, and although blockchain leans heavily towards the decentralized end, no blockchain project is absolutely, 100% decentralized. A healthy goal, therefore, would be to strive for the least amount of centralization possible.

Counterarguments

To illustrate, YouTuber Ivan on Tech compares the centralization of the Lightning Network to that of other scalability solutions. In a nutshell, he believes that in order to achieve “Visa level transaction with Bitcoin,” the community has three options:

  1. Keep increasing block-size forever (which would make it harder in the future to run nodes, leading to higher centralization)
  2. Rely on centralized databases like exchanges (most transactions already happen through exchanges and this means the network is highly centralized)
  3. Rely on off-chain layer 2 solutions like the Lightning Network

Notice that the key foundation that this argument is built on is that the community wants Bitcoin to achieve “Visa-level transactions.” This is an idea that people like Erik Finmann oppose. For others who think like him, Ivan’s argument is a moot point.

Peter Rizun, LN’s Harshest Critic, accuses censorship

Peter R. Rizun, the chief scientist at Bitcoin Unlimited, has been outspoken (even called “inflammatory”) about his dislike of the Lightning Network as a scaling solution. Specifically, he has claimed that making blockchain “settlement-only” and having most transactions occur on the LN would eliminate p2p ecash as we know it, as users wouldn’t be able to "be their own banks (and) verify their own TXs."

bitcoin lightning network status explained

Peter Rizun, the chief scientist at Bitcoin Unlimited, is an outspoken critic of the Lightning Network

The Bitcoin twitter account recently accused Peter McCormack of silencing Rizun’s criticism after the crypto influencer rescinded an invitation to his podcast What Bitcoin Did. The episode will feature Pierre Rochard in Rizun’s place and has not yet aired at the time of writing. You can listen to it soon, here.

what is lightning network

We hope our introduction to the Lightning Network was helpful and will encourage you to consult the recommended sources and more. As always, it is wise in any crypto debate to keep a sharp eye on technical developments and open ears to soundly justified arguments and counterarguments.

Thank you for reading, and have a great week,

The Coin360 Editorial Team