A Gentle Introduction To The Lightning Network

2021-8-28 04:00

Often seen as the path forward for Bitcoin’s scalability, this is a simple description of the Lightning Network.

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

Bitcoin is extremely secure, but this initially came at a trade-off: It’s slow. On its base layer, there’s no getting around the immense computing power and 10-minute average block time — and that’s the point. Bitcoin’s maximum transactions per second (TPS) is about five, which immediately raises concerns about scalability that enable millions of users to take advantage of its use case: a permissionless, peer-to-peer currency.

Enter the Lightning Network. Lightning was proposed in a white paper by Joseph Poon and Thaddeus Dryja in 2016. At 59 pages, it’s a serious read, but it’s nothing short of genius. It overcomes this scalability problem without sacrificing security or trustlessness, and increases anonymity in the process.

There is often discussion regarding protocols built on Bitcoin, and whether or not its users are interacting with “real” bitcoin. This is a fair question in this context, as it’s not immediately obvious how Lightning users are interacting with “real” bitcoin while having near-instant transaction times and almost zero fees.

The Lightning Network itself consists of two things: nodes and the channels between them. These nodes must also serve as nodes for Bitcon’s base layer, as that’s 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 unbroadcasted transaction which both nodes verify and sign. This channel can be funded by one or both of the nodes. This means that

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

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

There is a lot of effort and nuance in operating a Lightning node. Node operators are incentivized, if nothing else, to establish many channels by the accrual of routing fees. Fees must be competitively priced, though, in order to have transactions routed through their node. It’s also suggested that operators have multiple channels to increase network connectivity and make channel rebalancing easier.

A natural side effect of Lightning Network operation is the pooling of funds in one channel or another. This restricts liquidity in certain neighborhoods and so necessitates the “rebalancing” of channels in order to have a more even liquidity gradient across the network. Maximum transaction size — at least used to be — limited by the smallest channel balance. This is, interestingly, being worked on by Rene Pickhardt and Stefan Richter. Operators are also encouraged to open large channels — usually at least one million satoshis — in order to allow for larger transactions through their channel(s). Operators are also incentivized to keep their channels open for as long as possible, as closing them requires a drop back down to the base layer, incurring potentially high transaction fees.

Channel operators are incentivized to cooperate with each other. The largest concern is a channel constituent closing the channel by themselves, broadcasting an incorrect transaction (i.e., channel state, which shows the channel balance per side at any given time) back to the base layer. But they aren’t able to access that bitcoin for a period of time. If, during that time, the other channel constituent can show a more recent channel state, the malicious channel constituent loses all of their bitcoin. This can also be enforced by Watchtower nodes.

Smoothly operating Lightning nodes and channels can be very time consuming. Thankfully, there are large communities devoted to education and getting everyone, including your grandma, into Lightning.

Lightning improvements are currently made by several organizations, including Lightning Labs, Blockstream and ACINQ. Despite being individual groups, they keep their products interoperable by utilizing agreed-upon development rules.

As Lightning is still very much a work in progress, security issues and vulnerabilities will inevitably arise. That being said, it has come a very long way in just a few years. At the time of writing, it has over 20,000 public nodes, 60,000 channels and 2,000 bitcoin in capacity.

As Lightning makes it unnecessary to confirm every transaction on the base layer blockchain, the possible upper bound of TPS steadily trends toward infinity. This also pushes transaction fees to near-zero.

Interacting with Lightning is not very different from interacting on the base layer. You can still use your own node, or someone else’s via a custodial or noncustodial wallet. Now, instead of trading addresses, we exchange invoices, which encode, among other things, where the bitcoin is going, and how much is going there. These transactions are sent via onion routing, which means no node between the sender and recipient knows who is sending and who is receiving. Lightning dramatically increases fungibility this way. With the enactment of Taproot, it will become difficult to even ascertain whether or not bitcoin is being transacted on the Lightning Network.

In order to remove bitcoin from Lightning back to the base layer, a channel must be closed, a loop out can be performed, or a submarine swap can be performed. You can do these yourself, if you are utilizing your own Lightning node, or you can let someone else do it via an aforementioned wallet.

Luckily, there is a flurry of activity surrounding Lightning onboarding and development. Worldwide adoption is in the sights and in range, and it’s going to need all hands on deck.

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

Similar to Notcoin - TapSwap on Solana Airdrops In 2024

origin »

Lightning Bitcoin (LBTC) на Currencies.ru

$ 0.4544 (+0.55%)
Объем 24H $75.885k
Изменеия 24h: 22.69 %, 7d: 5.31 %
Cегодня L: $0.4491 - H: $0.4544
Капитализация $0 Rank 3864
Цена в час новости $ 1.1322 (-59.87%)

lightning network scalability bitcoin simple description path

lightning network → Результатов: 126


Фото:

Coinbase embraces Bitcoin Lightning network to speed up transactions

US-based crypto exchange Coinbase is finally integrating Bitcoin Lightning network after several promises by the exchange CEO Brian Armstrong. In an April 3 statement, Lightspark, a lightning network-based payment infrastructure provider, revealed that it was selected by the crypto exchange to facilitate the integration of Bitcoin Lightning Network.

2024-4-3 21:45


Фото:

Lightning Labs представила инструменты для поддержки сети Биткоина в проектах ИИ

Компания Lightning Labs, стоящая за решением второго уровня Lightning Network, представила набор инструментов, которые облегчат работу систем ИИ с блокчейном Биткоина и самой Lightning Network.

2023-7-7 14:24


Binance Funds Five Crypto Startups, Integrates Lightning Network Despite Regulatory Uncertainty

Despite SEC allegations that echo the fate of FTX, Binance champions crypto innovation through startup investments and Bitcoin Lightning Network integration, navigating the tumultuous seas of regulatory challenges The post Binance Funds Five Crypto Startups, Integrates Lightning Network Despite Regulatory Uncertainty appeared first on BeInCrypto.

2023-6-21 19:30


Сальвадор запустил образовательные программы по Биткоину и Lightning Network

Правительство Сальвадора анонсировало запуск новой образовательной программы в университетах, направленной на подготовку квалифицированных разработчиков Биткоина и Lightning Network.

2023-4-20 11:18


Биржа Coinbase собирается интегрировать Lightning Network

Генеральный директор Coinbase подтвердил намерение добавить к функционалу торговой площадки протокол The Lightning Network, который способен делать транзакции быстрее и дешевле.

2023-4-9 12:28


Lightning Network будут использовать для фиатных переводов

Британская криптобиржа CoinCorner открыла для пользователей возможность отправлять переводы в фиате из Великобритании и ЕС в Африку, используя биткоин и сеть микроплатежей Lightning Network.

2022-12-13 10:02


В приложении Block CashApp появилась поддержка Lightning Network

Платежный сервис компании Block Cash App добавил поддержку решения второго уровня Lightning Network. Теперь все транзакции по умолчанию будут проходить через эту сеть. Ранее компания уже объявляла, что поддерживает небольшие транзакции с BTC в сети Lightning Network, однако пользователи могли оплачивать счета только с помощью QR-кодов.

2022-10-26 14:53


MicroStrategy нанимает специалиста по протоколу Lightning Network

Компания MicroStrategy — самый крупный институциональный инвестор, вложивший свои активы в биткоин — разместила вакансию инженера-программиста в проект по созданию платформы на базе решения для масштабирования биткоина Lightning Network.

2022-10-1 23:50


MicroStrategy разработает корпоративные решения на базе Lightning Network

Компания MicroStrategy ведет несколько научно-исследовательских проектов на базе L2-решения для масштабирования биткоина Lightning Network (LN), сообщил ее экс-СEO Майкл Сэйлор. Они включают разработку кошелька, сервера и опций аутентификации.

2022-9-5 12:26


Сеть биткоина Lightning Network улучшает показатели даже на медвежьем рынке

Постоянный рост сети Bitcoin Lightning Network (LN) ускорился после достижения ещё одного важного рубежа. В частности, общая ёмкость сети Lightning Network в общедоступных каналах достигла 4290 биткоинов, увеличившись на 34,6% и 1102 биткоинов, сообщили аналитики Glassnode 22 июля.

2022-7-23 15:21


Объем заблокированных средств в Lightning Network превысило 3500 BTC

Решение второго уровня для сети Биткоина Lightning Network продолжает развиваться – общее количество заблокированных в нем BTC превысило 3 500. Быстрый рост емкости Lightning Network начался в первых месяцах 2021 года и продолжался до конца ноября.

2022-3-21 12:02


Руководство по управлению ликвидностью в Lightning Network

В данном материале подробно описывается практический опыт касательно запуска, настройки и оптимизации узла маршрутизации в Lightning Network. Ещё с начала 2018 года, с тех пор, как энтузиасты начали запускать узлы в основной сети Lightning, у некоторых из них возник резонный вопрос: какой отдачи стоит ожидать от инвестиций в виде размещения капитала в узле маршрутизации? Стоит […]

2022-1-23 10:23


Состояние Lightning Network

Статья представляет собой отчёт о текущем состоянии Lightning Network, подготовленный компанией OpenNode, провайдером платёжной инфраструктуры Биткойна, и аналитиками Arcane Research. Рассмотрены такие моменты, как ёмкость LN, её централизация, эволюция, а также будущее сети и многие другие важные аспекты.

2021-12-6 09:52


Мнение: Lightning Network сделает биткоин глобальным средством обмена

Теоретическая пропускная способность сети микроплатежей биткоина Lightning Network (LN) составляет 40 млн TPS. Это эквивалентно блокам размером 14,4 ТБ каждые десять минут, отметил директор по стратегии Blockstream Сэмсон Моу.

2021-11-5 15:19


Arcane Research: число пользователей Lightning Network превысит 700 млн к 2030 году

К 2030 году количество активных пользователей сети микроплатежей биткоина Lightning Network (LN) может превысить 700 млн. К таким выводам пришли аналитики Arcane Research. NEW REPORT: The State of Lightning⚡️The State of Lightning provides the most comprehensive overview of usage on the Lightning Network seen to date.

2021-10-9 17:53


Биткоин-биржа OKEx внедрила поддержку Lightning Network

Криптовалютная биржа OKEx внедрила решение второго уровня Lightning Network (LN) для ускорения транзакций и снижения комиссий при их осуществлении. 🟢 IT'S OFFICIAL! Lightning Network @lightning is now on @OKEx! ⚡ With its lightning-fast #blockchain micropayment & security enforced by #Bitcoin's blockchain smart contracts, users can now enjoy safer & faster transactions with lower fees! Learn more: https://t.

2021-4-20 11:37


Kraken планирует добавить поддержку Lightning Network

Биржа криптовалют Kraken сегодня объявила о формировании специализированной команды, задачей которой станет интеграция решения Lightning Network в инфраструктуру торговой платформы для осуществления переводов биткоина.

2020-12-17 19:48


Биржа Bitfinex добавила поддержку крупных платежей в Lightning Network

Криптовалютная биржа Bitfinex в своем блоге объявила о добавлении поддержки Wumbo-каналов, которые позволяют пользователям совершать более крупные биткоин-транзакции в Lightning Network. Обновление Lightning Network с поддержкой Wumbo-каналов было представлено в августе.

2020-9-23 12:58


Фото:

В Lightning Network обнаружена уязвимость, позволяющая выводить биткоины из обращения

Добавление Wumbo-каналов в сеть Lightning Network создало новую уязвимость. На это обратил внимание разработчик решений по масштабированию биткоина Йуст Ягер. 1/ Lightning is great, but can't say it is battle-tested.

2020-9-23 10:42


Bitfinex инвестировала в биржу биткоин-деривативов на основе Lightning Network

Биржа криптовалютных деривативов LN Markets, построенная на основе протокола второго уровня биткоина Lightning Network (LN), объявила о закрытии предварительного раунда финансирования с участием Bitfinex, Fulgur Ventures и Arcane Crypto.

2020-9-8 16:41