8.2 C
New York
Saturday, July 31, 2021
HomeCryptoCurrencySending hundreds of bitcoins via Lightning will be easier with this solution

Sending hundreds of bitcoins via Lightning will be easier with this solution

In life, the most direct path is not always the fastest, the shortest or the one that involves the least effort. There can always be obstacles. The same occurs in the Lightning network, which works as a second layer of Bitcoin, and through which hundreds of bitcoins are sent between thousands of nodes with channels open to each other.

In that huge interconnected network, satoshis (the smallest unit of bitcoin or BTC), travel until they reach their final destination, inclining to choose the shortest, fastest or cheapest way in commissions. But what if we can use all of these options at once? Will it be possible to travel several paths at the same time to reach the same common goal? It seems like an approach to quantum physics, but with the Lightning network it is possible to fulfill this thesis .

To achieve this, researchers propose a mathematical solution and probabilistic that allows estimating which are the best routes of the Lightning network to send bitcoins. But, in addition, they propose to divide that payment and send its fractions separately , testing live which are the best available routes to consolidate said transaction.

On July 13, the document « Optimally Reliable & Cheap Payment Flows on the Lightning Network » or, in Spanish, «Optimally reliable payment flows and cheap on the Lightning Network. This is the work of researchers René Pickhardt and Stefan Richter , published openly ( open source ) and that was partially sponsored by the Norwegian University of Science and Technology (NTNU), as well as the review of other specialists ( peer review ).

All roads reach Bitcoin

Andreas Antonopoulos , Bitcoin educator, and René Pickhardt , Lightning developer, recently participated in an episode of the podcast WhatBitcoinDid , moderated by Peter McCormack, where they talked about the scalability of Lightning and this specific solution, among other topics.

Antonopoulos, known for simply explaining complex Bitcoin concepts, stated that this would be one of the greatest innovations of the moment, and that I will allow to send potentially larger payments than what is usually sent in Lightning.

Pickhardt y Antonopoulos.
René Pickhardt (top right) and Andreas Antonopoulos (bottom) in one of the most recent episodes of Peter McCormack’s What Bitcoin Did (top left). Source: What Bitcoin Did.

For a year there has been a technology in the Lightning Network called Multi-Path Payment ( Multi-Path Payment ). With this, instead of sending payments through a set of Lightning channels or a single route, now what we can do is divide them into small fractions and send them through different channels and routes.

(…) How do you divide this payment? What channel to use to send all the fractions? These are the questions, the problem of finding the best possible route, which are the basis of the enormous innovation that René (Pickhardt) has achieved with his research (…).

Andreas Antonopoulos, popularizer on Bitcoin.

Multi-route payments were reported by CriptoNoticias at the end of 2019, as a solution that allowed sending a payment through several channels with multiple users as its final goal.

But now, what The aim is to use several channels to reach the same common goal, or a single final direction . This is done for the purpose of sending large amounts of bitcoins using each and every one of the best options or channels available, when there is only one single payment recipient.

René Pickhardt He explained that he was very surprised when, in a simulation, he noticed that he could send a large number of bitcoins through Lightning, thanks to the results of the algorithm he designed to compute which are the best channels to use to trace the payment route.

Pickhardt argued that the larger the payment in bitcoin, the greater the probability that Lightning will not be able to process it , due to the limited capacity of the channels.

The channels of the Lightning network have the capacity to send or receive as many bitcoins as their nodes have deposited. In September 2020, CriptoNoticias reported how a Lightning channel had been created with a capacity of up to 5 bitcoins, which implies that this amount can be received or sent through it without problems, when before it could only be sent on-chain, that is, , on the main chain of Bitcoin.

Then, in the simulation model, Pickhardt noticed how, when making a payment, a user chose the channel that charged the lowest commission. What the researcher proposes is to use the probability theory and probabilistic functions to optimize the search for “the most likely routes to be successful” to send the payment.

Antonopoulos commented on the podcast that he found it fascinating how a payment can “spread” or “flood” the Lightning network with transactions . Pickhardt explained that it is a mathematical problem of flows, so it was correct to refer to this as a “flood” of payments through network channels.

What we did was divide the amount into 250 different fractions, of very small amounts, and send them to someone. When we created these Multi-Party Payment Streams (MPPs), and shipped them, we found that 75% of the balance sent reached its destination on the first attempt, the rest was returned to us. What we did was use the information collected with confirmed and declined payments, to adjust our estimate of the health of the network, and then run the second round of payments. In total I had to do this in four rounds to be able to send these bitcoins on the Lightning network, and I don’t think anyone has done it before.

René Pickhardt, Developer.

For his part, Antonopoulos pointed out that If we wanted to send 0.5 BTC in the Lightning network, to give an example of a large amount for this second layer, it would be convenient to divide the payment into 20 parts and pay less commission, than to do it in two parts and pay more.

A method still in an experimental phase

At the moment there are no applications that integrate this method as part of their functions native, but is expected to continue to develop in the future .

Pickhardt received from Antonopoulos and McCormack a donation of EUR 10,000 each, as support for continue his path as a Lightning developer.

Regarding Lightning, during the month of June the network exceeded its numbers in terms of available channels and nodes, as well as the amount of circulating bitcoins, reported CriptoNoticias . There are currently more than 22,830 nodes, 56,600 channels and 1,840 BTC circulating on the Lightning network, according to 1ML.

Follow World Weekly News on

Sandra Loyd
Sandra is the Reporter working for World Weekly News. She loves to learn about the latest news from all around the world and share it with our readers.

Leave a Reply

Must Read