A mild introduction to the Lightning Community

Advertisements

* This article assumes that the reader already has a basic understanding of the Bitcoin protocol and how nodes, users and miners interact within it.

Bitcoin is extremely secure, but it did so with a compromise initially: it’s slow. At the basic level, there is no getting around the immense computing power and the average block time of 10 minutes – and that’s what it’s all about. Bitcoin’s maximum number of transactions per second (TPS) is around five, which immediately raises concerns about the scalability that enables millions of users to leverage its use case: a permissionless peer-to-peer currency.

Enter the Lightning Network. Lightning was suggested in a 2016 whitepaper by Joseph Poon and Thaddeus Dryja. At 59 pages, it’s serious read, but nothing short of awesome. It overcomes this scalability problem without sacrificing security or trust, while increasing anonymity.

There are often discussions about protocols based on Bitcoin and whether or not its users interact with “real” Bitcoin. This is a valid question in this context, as it is not immediately apparent how Lightning users interact with “real” Bitcoin while having near-instant transaction times and almost no fees.

The Lightning Network itself is made up of two things: nodes and the channels between them. These nodes must also serve as nodes for the base layer of Bitcon as this is how they open and close channels between nodes.

Bitcoin can only be added to the Lightning Network by creating a channel between two nodes. The bitcoin is placed in an unsent transaction that both nodes verify and sign. This channel can be funded by one or both nodes. This means that

1. This bitcoin cannot be used for anything else until this transaction is sent to the network.

2. Both nodes have the option to “redeem” this transaction at any time in order to get their original channel funding back.

The operation of a Lightning node involves a lot of effort and nuances. Not least because of the incurring routing fees, node operators are encouraged to set up many channels. However, the fees must be competitive in order for transactions to be routed through their node. It is also suggested that operators have multiple channels to increase network connectivity and make channel matching easier.

A natural side effect of running the Lightning Network is the pooling of funds on one channel or another. This restricts liquidity in certain neighborhoods and therefore requires “realignment” of the channels in order to achieve a more even liquidity gradient across the network. The maximum transaction size was – at least in the past – limited by the smallest channel balance. Interestingly, Rene Pickhardt and Stefan Richter are working on this. Operators are also encouraged to open large channels – usually at least a million satoshis – to facilitate larger transactions through their channels. Operators are also encouraged to keep their channels open for as long as possible, as closing them will require falling back on the base layer, which potentially incurs high transaction fees.

Canal operators have an incentive to cooperate with one another. The main concern is that some channel constituent will close the channel itself and send an incorrect transaction (ie, a channel state that indicates the channel balance per side at a given point in time) back to the base layer. But they cannot access these bitcoins for a period of time. If during this time the other channel component can have a more recent channel state, the malicious channel component will lose all of its bitcoins. Watchtower nodes can also enforce this.

The smooth operation of Lightning nodes and channels can be very time consuming. Fortunately, there are large communities devoted to education that bring everyone, including your grandma, into Lightning.

Lightning enhancements are currently being made by several organizations, including Lightning Labs, Blockstream, and ACINQ. Although they are separate groups, they keep their products interoperable by applying agreed development rules.

With Lightning still in the works, security issues and vulnerabilities will inevitably arise. As I said, it has come a long way in just a few years. At the time of writing, it has a capacity of over 20,000 public nodes, 60,000 channels, and 2,000 bitcoin.

Since Lightning makes it unnecessary to confirm every transaction on the base-layer blockchain, the possible upper limit of TPS tends steadily towards infinity. This also pushes transaction fees down to near zero.

Interacting with Lightning isn’t that different from interacting at the base level. You can still use your own node or someone else’s node through a depot or non-depot wallet. Instead of trading addresses, we are now exchanging bills that encode, among other things, where the Bitcoin is going and how much is going there. These transactions are sent via onion routing, ie no node between the sender and receiver knows who is sending and who is receiving. In this way, lightning increases the fungibility dramatically. With the introduction of Taproot, it becomes difficult to even determine whether or not Bitcoin is trading on the Lightning Network.

In order to remove Bitcoin from Lightning back to the base layer, a channel must be closed, a loop-out performed, or a sub-boot swap performed. You can do this yourself using your own Lightning Node, or you can have someone else do it through a wallet mentioned above.

Fortunately, there is a flurry of activity around onboarding and developing Lightning. Worldwide acceptance is in sight and within reach and requires all hands on deck.

This is a guest post by Nameless. The opinions expressed are solely their own and do not necessarily reflect those of BTC Inc. or Bitcoin Magazine.


Share post on

Sonic BTC is reader-supported. When you buy through links on our site, we may earn an affiliate commission.

Bitcoin: The Ignition Of A Scientific Revolution Bitcoin

Bitcoin: The Ignition Of A Scientific Revolution

It is a rare event for humanity to experience a change in worldview. You...

By wpadminsonic164
•
Veteran dealer Peter Brandt shares “Sacred Buying and selling Rule” when Bitcoin falls and warns in opposition to shopping for the dip Bitcoin

Veteran dealer Peter Brandt shares “Sacred Buying and selling Rule” when Bitcoin falls and warns in opposition to shopping for the dip

Veteran trader Peter Brandt shared "a sacred trading rule" that he uses in response...

By wpadminsonic164
•
Ukraine Legalizes Bitcoin Bitcoin

Ukraine Legalizes Bitcoin

Bitcoin is now legal in Ukraine as its parliament approved in final reading a...

By wpadminsonic164
•
‘Save Your Pores and skin’ From Inflation With BTC, The Nice Financial Shift, and SHIB Burns — Bitcoin.com Information Week in Overview Bitcoin

‘Save Your Pores and skin’ From Inflation With BTC, The Nice Financial Shift, and SHIB Burns — Bitcoin.com Information Week in Overview

Another spicy week of crypto news heads into the weekend, with Mexico's third-richest billionaire...

By wpadminsonic164
•
Bitcoin-Backed Mortgages And Pristine Collateral Mentioned At Bitcoin 2022 Bitcoin

Bitcoin-Backed Mortgages And Pristine Collateral Mentioned At Bitcoin 2022

Bitcoin 2022 hosted a panel at the Enterprise Stage on the use of bitcoin...

By wpadminsonic164
•
Doge Day Then and Now: Lackluster Buzz as Dogecoin’s Worth Is 65% Decrease Than Final Yr Bitcoin

Doge Day Then and Now: Lackluster Buzz as Dogecoin’s Worth Is 65% Decrease Than Final Yr

While April 20 or 420 is synonymous with cannabis culture, the day is also...

By wpadminsonic164
•
European Commission Has ‘Genuine Doubts’ About Markets in Crypto Assets Draft, Report Reveals Bitcoin

European Commission Has ‘Genuine Doubts’ About Markets in Crypto Assets Draft, Report Reveals

The European Commission disagrees with some provisions in the crypto regulatory proposal approved recently...

By wpadminsonic164
•
Africa now has the most important quantity of Bitcoin peer-to-peer buying and selling on the planet Bitcoin

Africa now has the most important quantity of Bitcoin peer-to-peer buying and selling on the planet

According to data from the analysis platform UsefulTulips, Africa has developed into the continent...

By wpadminsonic164
•

Latest Posts

ETH Key Indicators Show A Sharp Drop Below $1K To Occur Ethereum

ETH Key Indicators Show A Sharp Drop Below $1K To Occur

The ETH key indicators show a sharp drop below $1K that might occur soon...

By wpadminsonic164
•
Enormous Cardano (ADA) Upgrade Set To Go Live, According to Developers – Here’s the Timeline – The Daily Hodl Cardano

Enormous Cardano (ADA) Upgrade Set To Go Live, According to Developers – Here’s the Timeline – The Daily Hodl

Cardano (ADA) is getting closer to launching its highly anticipated Vasil network upgrade, which...

By wpadminsonic164
•
Kazakhstan's Crypto-Boom? – BBC News Videos

Kazakhstan's Crypto-Boom? – BBC News

Despite their volatility, cryptocurrencies like Bitcoin have exploded in popularity in the past year...

By wpadminsonic164
•
Presenting the Polkadot Staking Dashboard: The Easiest Way to Nominate and Stake Your DOT Polkadot

Presenting the Polkadot Staking Dashboard: The Easiest Way to Nominate and Stake Your DOT

Staking your DOT just got a whole lot easier with Polkadot's new staking dashboard....

By wpadminsonic164
•
Top 5 People That Bitcoin Made Rich – TechEngage – TechEngage Stellar

Top 5 People That Bitcoin Made Rich – TechEngage – TechEngage

Bitcoin has created several millionaires and billionaires over the recent years. Find out the...

By wpadminsonic164
•
Cristiano Ronaldo signs NFT manage crypto trade Binance – Financial Times Binance

Cristiano Ronaldo signs NFT manage crypto trade Binance – Financial Times

Cristiano Ronaldo, one of football's biggest stars, has inked a sponsorship deal with crypto...

By wpadminsonic164
•
Shiba Inu and Dogecoin up 30% in Network Activity, With Number of Unique Addresses Constantly Rising – U.Today Dogecoin

Shiba Inu and Dogecoin up 30% in Network Activity, With Number of Unique Addresses Constantly Rising – U.Today

Gamza Khanzadaev Shiba Inu and Dogecoin hit seven-week highs in network activity According to...

By wpadminsonic164
•
LIDO Community Shows Intent To Keep ETH Staking Uncapped Ethereum

LIDO Community Shows Intent To Keep ETH Staking Uncapped

The LIDO community shows intent to keep ETH staking uncapped as they are voting...

By wpadminsonic164
•