Researchers are putting new effort into developing bitcoinâs Lightning Network.
With the Segwit2x hard fork â which looked to increase the bitcoin block size parameter to 2MB â suspended, ETH Zurich researchers Conrad Burchert and Roger Wattenhofer and Blockstream engineer Christian Decker have proposed a more scalable version of the payments channel scheme, believed by developers to be the best way to expand bitcoin to accommodate more users.
Sometimes called bitcoinâs âlayer two,â Lightning hasnât yet been pushed live onto the bitcoin blockchain, but proponents of the idea see it as a way to boost bitcoinâs transaction capacity without increasing the block size (as bitcoin cash, which forked off bitcoin in August did).
In a new paper called âScalable Funding of Bitcoin Micropayment Channel Networks,â however, the three developers now envision even another layer, one that would be sandwiched between the bitcoin blockchain and Lightning, which they think would overcome Lightningâs existing limits.
Perhaps most notably, the researchers argue that limit is somewhat defined by the bitcoin blockchain itself, which, capped at 1MB, canât support infinite Lightning channels. After all, users must complete bitcoin transactions and record them on the blockchain each time channels are opened and closed.
In this way, Decker, pointing to existing research, suggests thereâs an upward bound on just how many Lightning Network transactions are feasible today.
He writes:
âIt turns out, itâs not that many. Itâs a few million every week, which is still a long ways from serving the full Earthâs population.â
And while this isnât a problem right now, it could lead to issues in the future â scaling issues that continue to be a hot, and contentious topic in the crypto community.
To understand what the new layer would provide, itâs helpful to compare the proposed layer to the way Lightning functions currently.
Today, a user must open a new Lightning âchannelâ with another user through a regular blockchain transaction. Once thatâs established, the two users can make as many off-blockchain transactions as they want or are able to with the initial amount of value they put into the channel.
The new proposal, which Decker called âLightning extended,â utilizes so-called âhook transactionsâ to move funds into a multi-party channel capable of supporting more than just two users. The paper calls this a âchannel factory.â
The method allows two people in a multi-party channel of say four or six, or as many as 15, to start a separate isolated channel within the main channel.
While it sounds a bit complex, the mechanism allows the two users in the isolated channel to close that channel and be dropped back into the multi-party channel, where they could then open another isolated channel with someone else. And all this is done without going back to the blockchain and incurring the transaction fees associated.
In this way, users could hypothetically open and close channels several times without ever making an on-chain transaction.
âThe only thing the blockchain needs to know in the end is where the money ends up. So, if we have many intermediate states, we donât have to publish them ever. Instead, we just make a transaction that everyone signs. This is the only thing that goes to the blockchain,â Buchert, the lead author of the paper, explained.
He continued, âIt offers more flexibility, basically.â
According to the authors, the channel factories will lead to reductions in cost, comparable to the number of people in the multi-party channel. For instance, a 100-person group would lead to a 90 percent reduction in costs, compared to 100 traditional payment channels, the paper explains.
While the benefits seem attractive, the authors say thereâs still a way to go before the project could see real-world use.
For one, the developers said, the technology would perform better with if another long-proposed technology, Schnorr signatures, was added to bitcoin.
Whereas channel factories are currently limited to groups of 15 people, with Schnorr signatures, users could open up groups of an unlimited size â scaling Lightning even further.
Although there could be downsides to larger groups, in that one user could spoil the channel for everyone else by sending a transaction from the inside to the bitcoin blockchain. According to Burchert, developers and users will have to experiment to see how many members per group works in a real-world setting most effectively.
Plus, with Lightning still in the testing phase, Burchert said that channel factories canât jump to the front of the line.
He told CoinDesk:
âThere are far more important things to work on right now, like getting the Lightning Network online. Weâll need [channel factory] technology when we have millions of channels, but weâre far from that right now.â
And when that time comes, Decker said it can be integrated more easily because Lightning sits on top of the bitcoin protocol, and so shouldnât give rise to much conflict when upgrading.
âWhile we donât plan to implement this right away, this could be a potential upgrade later on, without any disruption to the network,â Decker concluded.
Disclosure:Â CoinDesk is a subsidiary of Digital Currency Group, which has an ownership stake in Blockstream.
Lightning strike image via Shutterstock