What is the Lightning Network?
von Satoshi Nakamoto
Last updated: 21 March, 2018
Hailed as one of the most potent solutions to cryptocurrency scaling currently under development, the lightning network effectively creates a layer on top of bitcoin, enabling fast and cheap transactions which can net settle to the bitcoin blockchain.
Proposed by Thaddeus Dryja and Joseph Poon in a 2015 white paper, the idea is based on a network that sits on top of the bitcoin blockchain, and eventually settles on it. The network is comprised of user-generated channels that send payments back and forth in a secure and trust-less fashion (trust-less means that you don't need to trust or even know your counterparty).
Say, for instance, that I wanted to pay you for each minute of video that I watched. We would open up a lightning channel, and as the minutes rolled by, periodic payments would be made from my wallet to yours. When I'm done watching, we would close the channel to settle the net amount on the bitcoin blockchain.
Because the transactions are just between me and you and don't need to be broadcast to the whole network, they are almost instantaneous. And because there are no miners that need incentivizing, transaction fees are low or even non-existent.
How it works
First, two parties who wish to transact with each other set up a multisig wallet (which requires more than one signature to enact a transaction). This wallet holds some amount of bitcoin. The wallet address is then saved to the bitcoin blockchain. This sets up the payment channel.
The two parties can now conduct an unlimited number of transactions without ever touching the information stored on the blockchain. With each transaction, both parties sign an updated balance sheet to always reflect how much of the bitcoin stored in the wallet belongs to each.
When the two parties have done transacting, they close out the channel, and the resulting balance is registered on the blockchain. In the event of a dispute, both parties can use the most recently signed balance sheet to recover their share of the wallet.
It is useful to note that it is not necessary to set up a direct channel to transact on lightning – you can send payments to someone via channels with people that you are connected with. The network automatically finds the shortest route.
Development of the technology got a significant boost with the adoption of SegWit on the bitcoin and litecoin networks. Without the upgrade's transaction malleability fix, transactions on the lightning network would have been too risky to be practical.
Without the security of the blockchain behind it, the lightning network will not be as secure, which implies that it will largely be used for small or even micro transactions which carry a lower risk. Larger transfers that require decentralized security are more likely to be done on the original layer.
Where are we now?
Although it was originally designed for bitcoin, the technology is currently being developed for a range of cryptocurrencies, such as litecoin, stellar, zcash, ether and ripple. Litecoin plans to launch its version at the same time as bitcoin's.
In December 2017, startups behind the three most active lightning implementations (ACINQ, Blockstream and Lightning Labs) revealed test results, including live transactions, proving that their software is now interoperable.
Furthermore, version 1 of the lightning specifications, which set out the rules of the network, has been published. This will encourage the development of other implementations and applications.
However, the network is not yet ready for launch. Engineers have yet to release software with which real users can make transactions. Apps supporting lightning as a payment method are already cropping up, but so far they're not easy to use.
That has not stopped some of those working on projects from testing lightning transactions on the bitcoin network. Lightning developers discourage this, however – not only does it act as a distraction to developers, but it also puts users' funds at risk.
Given the complexity of the code, and the need for rigorous testing (we are talking about payments, after all), developers are urging patience. In addition, lightning can't be implemented at scale until SegWit is more widely extended – so, while some believe that there is enough SegWit support to run the network on mainnet now, others predict that a usable lightning network could be at least a year away.
In March 2018, California startup Lightning Labs announced the launch of a beta version of its software, making available what investors and project leads say is the first thoroughly tested version of the tech to date. It is still early days, however - transaction sizes are limited, and the release is aimed at developers and "advanced users".
Authored by Noelle Acheson. Lightning image via Shutterstock. Source coindesk
NEXT: WHAT IS BITCOIN CASH?
INDEX: A BEGINNERS GUIDE TO BITCOIN AND BLOCKCHAIN TECHNOLOGY
What is Bitcoin?
It’s a decentralized digital currency
Why Use Bitcoin?
It’s fast, cheap to use, and secure
How Can I Buy Bitcoin?
From an exchange or an individual
How to Buy Bitcoin in the UK
Buying bitcoin in the UK
How to Store Your Bitcoin
Use a digital or paper wallet
What Can You Buy with Bitcoin?
Spend your bitcoins
How to Sell Bitcoin
A guide on how to sell your bitcoins
How to Accept Bitcoin Payments for Your Store
Learn about bitcoin POS systems
How do Bitcoin Transactions Work?
Bitcoin addresses and private keys
Is Bitcoin Legal?
The current regulation around bitcoin
Who is Satoshi Nakamoto?
The founder of bitcoin
How Bitcoin Mining Works
By confirming transactions
How to Set Up a Bitcoin Miner
Generate bitcoins yourself
What are Bitcoin Mining Pools?
What are pools how and how to join them?
How Does Cloud Mining Bitcoin Work?
Alternative bitcoin mining solutions
How to Calculate Mining Profitability
Can you make a ROI?
How to Make a Paper Bitcoin Wallet
Creating an unhackable bitcoin wallet
Can Bitcoin Scale?
A look at the debate and the tech
What is SegWit?
A new way of storing transaction data
What is the Lightning Network?
Off-chain transaction channels
What is Bitcoin Cash?
Same blockchain, different characteristics.
Hard Fork vs Soft Fork
Why and how do blockchains split?
What is the Difference Between Litecoin and Bitcoin?
It’s the silver to bitcoin’s gold
How to Buy Litecoin
How to buy the bitcoin alternative litecoin
How to Mine Litecoin and other Altcoins
How to generate your own altcoins
Understanding Bitcoin Price Charts
A primer on bitcoin price charts
Bitcoin E-Commerce Services for Merchants
How to accept bitcoin at your business
What is Blockchain Technology?
A system of distributed data and logic
How Does Blockchain Technology Work?
Cryptographic keys, distributed networks and network servicing protocols
What Can a Blockchain Do?
Identity, recordkeeping, smart contracts and more
What is a Distributed Ledger?
A dynamic, independently maintained database
What is the Difference Between Public and Permissioned Blockchains?
Can anyone read or write to the ledger?
What is the Difference Between a Blockchain and a Database?
It begins with architectural and administrative decisions
What Are the Applications and Use Cases of Blockchains?
Tokenization, auditing, governance, settlement and more
How Could Blockchain Technology Change Finance?
Cross-border payments, new asset classes, regulatory compliance and more
What are Blockchain’s Issues and Limitations?
Complexity, size, costs, speed, security, politics and more
Why Use a Blockchain?
To manage and secure digital relationships as part of a system of record
What is Ethereum?
A blockchain application platform and ‘world computer’
What is Ether?
The ‘fuel’ of the ethereum network
How to Use Ethereum
Wallets, trading and ‘dapps’
Who Created Ethereum?
Vitalik Buterin
How Ethereum Mining Works
‘Proof of Work’ and ‘Proof of Stake’
How to Mine Ethereum
GPUs, mining software and pools
How Ethereum Works
‘Turing-complete’ programming, ‘state’ and the ‘EVM’
What is a Decentralized Application?
A distributed ‘smart contract’ system
What is a DAO?
A ‘decentralized autonomous organization’
How Do Ethereum Smart Contracts Work?
Code, transaction fees and ‘gas’
How Will Ethereum Scale?
‘Sharding’ and ‘off-chain’ transactions
What is an ICO?
Initial Coin Offerings refer to the distribution of digital tokens.
Read the full article
Hailed as one of the most potent solutions to cryptocurrency scaling currently under development, the lightning network effectively creates a layer on top of bitcoin, enabling fast and cheap transactions which can net settle to the bitcoin blockchain.
Proposed by Thaddeus Dryja and Joseph Poon in a 2015 white paper, the idea is based on a network that sits on top of the bitcoin blockchain, and eventually settles on it. The network is comprised of user-generated channels that send payments back and forth in a secure and trust-less fashion (trust-less means that you don't need to trust or even know your counterparty).
Say, for instance, that I wanted to pay you for each minute of video that I watched. We would open up a lightning channel, and as the minutes rolled by, periodic payments would be made from my wallet to yours. When I'm done watching, we would close the channel to settle the net amount on the bitcoin blockchain.
Because the transactions are just between me and you and don't need to be broadcast to the whole network, they are almost instantaneous. And because there are no miners that need incentivizing, transaction fees are low or even non-existent.
How it works
First, two parties who wish to transact with each other set up a multisig wallet (which requires more than one signature to enact a transaction). This wallet holds some amount of bitcoin. The wallet address is then saved to the bitcoin blockchain. This sets up the payment channel.
The two parties can now conduct an unlimited number of transactions without ever touching the information stored on the blockchain. With each transaction, both parties sign an updated balance sheet to always reflect how much of the bitcoin stored in the wallet belongs to each.
When the two parties have done transacting, they close out the channel, and the resulting balance is registered on the blockchain. In the event of a dispute, both parties can use the most recently signed balance sheet to recover their share of the wallet.
It is useful to note that it is not necessary to set up a direct channel to transact on lightning – you can send payments to someone via channels with people that you are connected with. The network automatically finds the shortest route.
Development of the technology got a significant boost with the adoption of SegWit on the bitcoin and litecoin networks. Without the upgrade's transaction malleability fix, transactions on the lightning network would have been too risky to be practical.
Without the security of the blockchain behind it, the lightning network will not be as secure, which implies that it will largely be used for small or even micro transactions which carry a lower risk. Larger transfers that require decentralized security are more likely to be done on the original layer.
Where are we now?
Although it was originally designed for bitcoin, the technology is currently being developed for a range of cryptocurrencies, such as litecoin, stellar, zcash, ether and ripple. Litecoin plans to launch its version at the same time as bitcoin's.
In December 2017, startups behind the three most active lightning implementations (ACINQ, Blockstream and Lightning Labs) revealed test results, including live transactions, proving that their software is now interoperable.
Furthermore, version 1 of the lightning specifications, which set out the rules of the network, has been published. This will encourage the development of other implementations and applications.
However, the network is not yet ready for launch. Engineers have yet to release software with which real users can make transactions. Apps supporting lightning as a payment method are already cropping up, but so far they're not easy to use.
That has not stopped some of those working on projects from testing lightning transactions on the bitcoin network. Lightning developers discourage this, however – not only does it act as a distraction to developers, but it also puts users' funds at risk.
Given the complexity of the code, and the need for rigorous testing (we are talking about payments, after all), developers are urging patience. In addition, lightning can't be implemented at scale until SegWit is more widely extended – so, while some believe that there is enough SegWit support to run the network on mainnet now, others predict that a usable lightning network could be at least a year away.
In March 2018, California startup Lightning Labs announced the launch of a beta version of its software, making available what investors and project leads say is the first thoroughly tested version of the tech to date. It is still early days, however - transaction sizes are limited, and the release is aimed at developers and "advanced users".
Authored by Noelle Acheson. Lightning image via Shutterstock. Source coindesk
NEXT: WHAT IS BITCOIN CASH?
INDEX: A BEGINNERS GUIDE TO BITCOIN AND BLOCKCHAIN TECHNOLOGY
What is Bitcoin?
It’s a decentralized digital currency
Why Use Bitcoin?
It’s fast, cheap to use, and secure
How Can I Buy Bitcoin?
From an exchange or an individual
How to Buy Bitcoin in the UK
Buying bitcoin in the UK
How to Store Your Bitcoin
Use a digital or paper wallet
What Can You Buy with Bitcoin?
Spend your bitcoins
How to Sell Bitcoin
A guide on how to sell your bitcoins
How to Accept Bitcoin Payments for Your Store
Learn about bitcoin POS systems
How do Bitcoin Transactions Work?
Bitcoin addresses and private keys
Is Bitcoin Legal?
The current regulation around bitcoin
Who is Satoshi Nakamoto?
The founder of bitcoin
How Bitcoin Mining Works
By confirming transactions
How to Set Up a Bitcoin Miner
Generate bitcoins yourself
What are Bitcoin Mining Pools?
What are pools how and how to join them?
How Does Cloud Mining Bitcoin Work?
Alternative bitcoin mining solutions
How to Calculate Mining Profitability
Can you make a ROI?
How to Make a Paper Bitcoin Wallet
Creating an unhackable bitcoin wallet
Can Bitcoin Scale?
A look at the debate and the tech
What is SegWit?
A new way of storing transaction data
What is the Lightning Network?
Off-chain transaction channels
What is Bitcoin Cash?
Same blockchain, different characteristics.
Hard Fork vs Soft Fork
Why and how do blockchains split?
What is the Difference Between Litecoin and Bitcoin?
It’s the silver to bitcoin’s gold
How to Buy Litecoin
How to buy the bitcoin alternative litecoin
How to Mine Litecoin and other Altcoins
How to generate your own altcoins
Understanding Bitcoin Price Charts
A primer on bitcoin price charts
Bitcoin E-Commerce Services for Merchants
How to accept bitcoin at your business
What is Blockchain Technology?
A system of distributed data and logic
How Does Blockchain Technology Work?
Cryptographic keys, distributed networks and network servicing protocols
What Can a Blockchain Do?
Identity, recordkeeping, smart contracts and more
What is a Distributed Ledger?
A dynamic, independently maintained database
What is the Difference Between Public and Permissioned Blockchains?
Can anyone read or write to the ledger?
What is the Difference Between a Blockchain and a Database?
It begins with architectural and administrative decisions
What Are the Applications and Use Cases of Blockchains?
Tokenization, auditing, governance, settlement and more
How Could Blockchain Technology Change Finance?
Cross-border payments, new asset classes, regulatory compliance and more
What are Blockchain’s Issues and Limitations?
Complexity, size, costs, speed, security, politics and more
Why Use a Blockchain?
To manage and secure digital relationships as part of a system of record
What is Ethereum?
A blockchain application platform and ‘world computer’
What is Ether?
The ‘fuel’ of the ethereum network
How to Use Ethereum
Wallets, trading and ‘dapps’
Who Created Ethereum?
Vitalik Buterin
How Ethereum Mining Works
‘Proof of Work’ and ‘Proof of Stake’
How to Mine Ethereum
GPUs, mining software and pools
How Ethereum Works
‘Turing-complete’ programming, ‘state’ and the ‘EVM’
What is a Decentralized Application?
A distributed ‘smart contract’ system
What is a DAO?
A ‘decentralized autonomous organization’
How Do Ethereum Smart Contracts Work?
Code, transaction fees and ‘gas’
How Will Ethereum Scale?
‘Sharding’ and ‘off-chain’ transactions
What is an ICO?
Initial Coin Offerings refer to the distribution of digital tokens.
Read the full article
Satoshi Nakamoto
Keine Verbindung
Verbindung wird wiederhergestellt
Etwas ist schiefgelaufen
Wir sind gleich wieder da