Shuffle

🎁 200% Welcome Bonus up to $1,000 | #1 industry VIP system | Instant Withdrawals | Exclusive $SHFL Token | 99% RTP Games 🔥

Explore All Reviews

What is Lightning Network?

Proposed in a 2016 white paper, the Lightning Network (LN) is a layer-2 solution built on top of Bitcoin.
What is Lightning Network?
In this article we will delve into the history of and current state of Bitcoin's Lightning Network.

Why was Bitcoin's Lightning Network created?

Lightning Network was created in response to scalability issues with Bitcoin, namely the speed and cost of Bitcoin transactions.

Bitcoin’s current theoretical maximum transactions per second (TPS) is 10, though in reality it is between 3 and 7. Contrast this with traditional payment processors like VISA, which handled on average 6,000 TPS in 2020 (based on VISA’s claim of 188 billion transactions a year).

Bitcoin’s transaction fees can vary wildly depending on the current demand to use the network. For instance, on April 20th 2021 average transaction fees were in excess of $50, while on August 9th 2021, the average was around $2.50. For large transactions, such as bank transfers or international remittance, Bitcoin’s speed and cost is comparable or superior to alternatives. But if Bitcoin is to be used for everyday payments (so-called micro-transactions, e.g., a cup of coffee, gas), the transaction speed must increase and transaction costs must decrease drastically.

Lightning Network in Theory

To understand how LN works, and the current challenges of LN, we need to talk about Bitcoin. The limiting factor of the Bitcoin network is that every transaction must be put in a new block on chain. Since blocks are added to the chain approximately every 10 minutes, there is a hard limit to the number of transactions possible without significantly altering the Bitcoin protocol.

Read more: How do Bitcoin transactions work?

Debates on major reworkings of the Bitcoin protocol have happened before and resulted in 'hard forks,' most notably the creation of Bitcoin Cash. The Lightning Network, rather than creating a new blockchain, is a layer-2 solution. This means that it allows the Bitcoin protocol to remain relatively unchanged, but provides the benefits major reworkings could bring -- in theory, at least.

LN works by setting up a payment channel between two parties, where only the first and last transaction are put on the Bitcoin blockchain. Any number of transactions between the first and last will happen off chain, which means those transactions are not limited by the Bitcoin protocol.

To start a payment channel, both parties must commit an amount of Bitcoin. That Bitcoin is held and cannot be released as long as the payment channel remains open. The total amount of Bitcoin that can be transferred through this channel is the total amount of Bitcoin committed. Let’s look at an example to illustrate this:

Alice and Bob want to form a payment channel with each other. Alice commits 10 BTC and Bob commits 5 BTC into the payment channel. An opening transaction holding Alice and Bob’s combined 15 BTC is put onto the Bitcoin blockchain. Once that transaction has been added to the blockchain, which can take 10 minutes or more, Alice and Bob can transact an unlimited number of times at much faster speeds and effectively zero cost. Below are transactions between Alice and Bob:

  1. Alice sends Bob 1 BTC Alice: 9 BTC Bob: 6 BTC
  2. Alice sends Bob 2 BTC Alice: 7 BTC Bob: 8 BTC
  3. Bob sends Alice 3 BTC Alice: 10 BTC Bob: 5 BTC
  4. Bob sends Alice 1 BTC Alice: 11 BTC Bob: 4 BTC

When one or both wish to close the channel, a closing transaction is sent to the blockchain with the final balances of Alice and Bob. In this case, Alice’s final balance is 11 BTC and Bob’s is 4 BTC.

What if Alice wants to transact with Carol? Well, it so happens that Bob has a payment channel with Carol, so Alice transacts with Bob, and Bob passes the transaction on to Carol. Note that in this scenario, Bob might take a small payment for passing on the transaction. Over time, by the theory of six degrees of separation, LN allows Alice to transact with anyone else.

Lightning Network node mesh network Node A transacts with node Q despite only having direct payment channels with nodes C and B.

Lightning Network in Practice

LN is a relatively new protocol. It is faced with many challenges ranging from usability to security.

There are concerns about how easy it is to run a LN node. For LN to be successful, it requires a robust network of Bitcoin nodes running the LN protocol. Running a LN node can be quite difficult and it could be the case that there are payment incentive problems for running smaller nodes. It can be argued that running LN is not too much more difficult than running a full bitcoin node, though. However, since LN is mostly targeted at micro-transactions, the day-to-day experience with LN will be through LN-enabled wallets. Unlike some of the more established Bitcoin wallets, the newness of these LN-enabled wallets means there are tradeoffs between custodial and non-custodial versions. The non-custodial LN wallets are harder to use -- more confusing, less straightforward. The custodial options are easier to use, but you must rely on a third-party with your Bitcoin.

Read more: Understand the difference between custodial and non-custodial wallets, and how it relates to economic freedom.

LN must also contend with competitors. As of February 2024, LN has locked up approximately 5,000 BTC. This might sound like a lot, but by comparison, over 150,000 Bitcoin is locked up on Ethereum (WBTC, wrapped Bitcoin) as of February 2024. Since block times on Ethereum are approximately every 14 seconds as opposed to Bitcoin’s 10 minutes, it already is much faster to transact Bitcoin via WBTC on the Ethereum network. Further, it's conceivable that Ethereum projects like ETH 2.0 and Ethereum Plasma will reduce transaction fees enough to make the Lightning Network unnecessary and obsolete. It’s also important to remember that using WBTC brings with it all of the massive benefits of access to DeFi, which LN does not.

Lastly, and most worryingly, LN has been faced with a number of vulnerabilities. These include:

  • Griefing attacks: Funds aren’t lost, but it causes the victim's Lightning funds to be frozen so that the payment channel cannot process any transactions.
  • Flood and loot: An attacker forces many victims to claim their funds from the blockchain at the same time (flood). The attacker uses this congestion to steal funds that were unable to be claimed before the deadline (loot).
  • Time-dilation attacks: An attacker lengthens the time a victim becomes aware of new blocks by delaying block delivery.
  • Pinning attacks: An attacker tricks a victim into closing their LN channel improperly and steals individual transactions.

Work Yet to be Done on Bitcoin Lightning Network

While LN suffers from vulnerabilities, no one has yet to exploit them. It is likely that since the expertise required to pull off these vulnerabilities is so high, none have done it. LN developers are confident that finding these vulnerabilities will only make the network stronger - that it is a necessary phase of growth. The developers are optimistic about creating various fixes for the vulnerabilities they have found so far, though pinning attacks and time-dilation attacks will require tweaks to both LN implementations and Bitcoin Core at the same time.

The Lightning Network of today is faced with many challenges, but the protocol is still relatively young and these kinds of issues are to be expected. Lightning developers will continue to improve the protocol and may will be able to solve the issues to help scale Bitcoin on layer-2.

Read more: Understand the differences between Bitcoin and Bitcoin Cash, and why Bitcoin Cash is largely serving a different use case.

For a sober 10,000 foot assessment of the Lightning Network, written by a full-time Bitcoin Core contributor nonetheless, check out Antoine Riard’s excellent post.

Discover the top platforms for buying, selling, and trading cryptocurrencies

Discover the top platforms for buying, selling, and trading cryptocurrencies


🟠 Bitcoin Ecosystem Resources

Bitcoin Exchange & Trading Platforms

Bitcoin Wallets & Storage

Bitcoin Data, Tools & Charts

Bitcoin ATMs & Physical Infrastructure

Bitcoin Investment & Finance

Bitcoin Commerce & Lifestyle

Bitcoin Conferences & Events

Bitcoin Airdrops & Discovery

Bitcoin Gambling & Casinos

Related guides

Start from here →
What is Bitcoin?

What is Bitcoin?

Get a straightforward introduction to Bitcoin and why it matters.

Read this article →
What is Bitcoin?

What is Bitcoin?

Get a straightforward introduction to Bitcoin and why it matters.

How do I send bitcoin?

How do I send bitcoin?

Sending bitcoin is as easy as choosing the amount to send and deciding where it goes. Read the article for more details.

Read this article →
How do I send bitcoin?

How do I send bitcoin?

Sending bitcoin is as easy as choosing the amount to send and deciding where it goes. Read the article for more details.

How do I receive bitcoin?

How do I receive bitcoin?

To receive bitcoin, simply provide the sender with your Bitcoin address, which you can find in your Bitcoin wallet. Read this article for more details.

Read this article →
How do I receive bitcoin?

How do I receive bitcoin?

To receive bitcoin, simply provide the sender with your Bitcoin address, which you can find in your Bitcoin wallet. Read this article for more details.

How do bitcoin transactions work?

How do bitcoin transactions work?

Understand how the Bitcoin public blockchain tracks ownership over time. Get clarity on key terms like public & private keys, transaction inputs & outputs, confirmation times, and more.

Read this article →
How do bitcoin transactions work?

How do bitcoin transactions work?

Understand how the Bitcoin public blockchain tracks ownership over time. Get clarity on key terms like public & private keys, transaction inputs & outputs, confirmation times, and more.

check icon
TRUSTED BY OVER 5 MILLION CRYPTO USERS WORLDWIDE

STAY AHEAD IN CRYPTO

DELIVERED WEEKLY
DELIVERED WEEKLY

Stay ahead in crypto with our weekly newsletter delivering the insights that matter most

news icon

Weekly crypto news, curated for you

insights icon

Actionable insights and educational tips

products icon

Updates on products fueling economic freedom

Sign up

No spam. Unsubscribe anytime.

Start investing safely with the Bitcoin.com WalletStart investing safely with the Bitcoin.com WalletStart investing safely with the Bitcoin.com Wallet

Start investing safely with the Bitcoin.com Wallet

Over wallets created so far

Everything you need to buy, sell, trade, and invest your Bitcoin and cryptocurrency securely

App StoreGoogle PlayQR Code
Download App