fbpx
SEND LARGE BITCOIN PAYMENTS ON LIGHTNING

SEND LARGE BITCOIN PAYMENTS ON LIGHTNING

SEND LARGE BITCOIN PAYMENTS ON LIGHTNING

The Lightning Network is seen as the main solution in the Bitcoin ecosystem for making small BTC transactions feasible, as it enables the smallest of payments to be sent for nearly no fees.

There are now over 88,000 public channels holding over 4,000 BTC, according to data from Txstats.com.

The Bitcoin overlay network enjoyed substantial growth over the past year after it was put front and center in global media with the adoption of bitcoin as legal tender by El Salvador. The move conferred much legitimacy to Lightning as it became clear to the world that bitcoin could indeed be used to purchase daily goods.

Bitcoin Lightning Network btc

Growth of Bitcoin’s Lightning Network over the past one year. Image source: Txstats.com.

While there is still much work to be done for a global adoption of the Lightning Network to become realistically possible, the protocol has solidified its position as the main scaling solution for Bitcoin payments.

However, due to the Lightning Network’s design of interconnected channels,

 

One example of this is prioritizing by routing fees, which is the most popular prioritization; it seeks to pick a path in the network that entails minimized fee expenditure for the sender.

path in the Lightning Network refers to the route taken by a

Lightning payment from sender to recipient across different channels.

Nodes between them route the payment through their channels in exchange for a routing fee.

Even though choosing the lowest-cost route may often work fine for small payments,

as the payment amount increases the less likely it becomes for the payment to succeed.

 

In other words, the likelihood that the lower-cost route — and the Lightning Network at large — can successfully deliver a given payment diminishes as the size of that payment grows.

Much of this problem revolves around the issue of liquidity,

which is necessary for the movement of funds from both the sender and receiver standpoint — and every channel in-between.

Naturally, the larger the payment,

the greater the need for liquidity in Lightning channels for the payment to successfully traverse the network until its destination.

For small payments this doesn’t matter as much:

a channel’s bitcoin capacity being enough for a small payment to go through is high, it goes down as the amount of btc sent goes up.

 

Therefore, senders of small Bitcoin payments sent through Lightning usually

don’t need to worry much about the issue of liquidity as when sending larger payments.

Nevertheless, even small payments are susceptible to failure of delivery on Lightning. In that sense, increasing reliability for both small and large payments seems like a good idea.

Thinking of this problem,

Lightning Network researcher and educator Rene Pickhardt began

researching ways to optimize for the probability of a payment to be successful.

Now, his research is bearing fruit.

PICKHARDT PAYMENTS: INCREASING RELIABILITY FOR LIGHTNING PAYMENTS

As a result, most of Pickhardt’s work tries to answer the question: Where is the liquidity?

There isn’t a single answer to that question. Worse, often there isn’t a way to be certain about it either, even when considering a single channel.

Whereas it can be trivial to determine the bitcoin capacity of a public Lightning channel,

posing a challenge to correctly assess outgoing and incoming liquidity in that channel.

Due to this uncertainty, Pickhardt found that the best answer is based on probability.

Pickhardt Payments quantifies the uncertainty around liquidity to a probability,

mapping out all the possible paths for a given payment to take

and selecting the one with the highest likelihood of succeeding.

In other words, Pickhardt Payments seeks to select the path with the lowest level of uncertainty.

The probabilistic model used by Pickhardt estimates the amount of liquidity that there is in a channel in BTC. If the payment fails, the model learns from its mistake by updating its belief about the network.

Pickhardt’s approach applies decades-old computer science research to the burgeoning Lightning protocol. More specifically, the Lightning researcher draws from late father of information theory Claude Shannon’s work on communication channels, entropy and uncertainty to quantify communication uncertainty with probabilistic distributions.

PICKHARDT PAYMENTS FOR LARGE TRANSACTIONS

 

 

then the original payment is successful.

Given that all divisions need to succeed in order for the original payment to succeed,

This creates a sort of a paradox because, in theory, the smaller the payment the higher the chance of success. Hence, an optimization challenge in finding the correct split emerges.

Pickhardt Payments seeks to increase the probability of the original payment succeeding by striving for this optimization,

To achieve that, it leverages operations research (OR).

More specifically, Pickhardt Payments uses Minimum-cost flows, a well-studied tool from the field of OR, to model and conduct the optimal multi-part Lightning payment — improving the decision-making process of splitting and delivering payments on Lightning.

Not to be confused with fee costs, uncertainty costs can be thought of as the opportunity cost in trying a given path.

In theory, the higher the uncertainty cost,

the higher the opportunity cost as it’s less likely that the payment will succeed.

Quantifying that uncertainty allows Pickhardt Payments to minimize the opportunity cost

and choose the path that maximizes the chance of success.

Ultimately, these optimizations allow Pickhardt Payments to send large Lightning payments that were previously impossible on the network.

On the other hand,

Pickhardt Payments prioritizes lowering the uncertainty costs as it seeks to increase the likelihood of payment delivery,

meaning that fees can often get relatively expensive if compared to those commonly paid on Lightning.

However, Pickhardt told Bitcoin Magazine that his algorithm could also offer the choice to optimize for fees, though he argues doing so is at present computationally heavy given the existence of Lightning’s base fee. In that case, the challenge would be to find an optimal balance between the two options — which he calls “features” — as users dabble in what they ultimately wish to prioritize for btc.

HOW TO USE PICKHARDT PAYMENTS TODAY

Thirdly, Usage of Pickhardt Payments today can be done via LND manageJ by Carsten Otto.

Alternatively, Pickhardt is developing a library which currently allows for simulations and production tests btc.

Pickhardt told Bitcoin Magazine that he will eventually ship the library with bindings for implementations,

but that is not currently as high a priority as technical correctness, security and runtime.

Even though there isn’t yet a simple way a regular user can take advantage of Pickhardt Payments,

In Conclusion, availability should increase as developers keep working on the algorithm and library to boast its robustness and security btc.

Related Articles

Responses

Translate »