Questions tagged [lightning-routing]

The tag has no usage guidance.

12 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
1k views

LND Port 9735 still closed after setting up port forwarding and firewall

I have set up my bitcoin/lnd full node and would like to have it run as a routing node for the network. So I have opened my port 9735 from the router and allowed access to it in my firewall (ufw on ...
3 votes
1 answer
119 views

Finding paths NOT originating from you with lnd

I'm interested in finding paths from senders whose node you don't run to potential receivers. According to https://api.lightning.community/?python#queryroutes , you can do that by specifying the ...
  • 31
2 votes
0 answers
75 views

How to measure the drain of a specific Lightning Network Channel that I own?

We have seen that the drain of a lightning network channel can be used to predict the failure rate of payments in this channel which correlates inversely with its reliability. Assume my node M has a ...
2 votes
0 answers
75 views

lightning nodes cannot find route

I have two lightning nodes, Bob and Charlie (using bitcoind backend with LND). They both have an open and funded channel with this testnet faucet: https://faucet.lightning.community/ Both nodes have a ...
2 votes
0 answers
105 views

Circular rebalance through 1 of 7 channels always times out

I have the following 8 channels open I am able to do a circular rebalance through the first 6 as expected The bottom 2 channels are to the same node Every time I try to do a circular rebalance (tried ...
2 votes
2 answers
318 views

How does lnd make sure it does not reuse the same route twice for a retry after the first payment failed?

Suppose LND node A wants to send a payment to another node D. The pathfind algorithm based on Dijkstra found a route through B and C and initiates the payment. It fails, as B -> C does not have ...
  • 183
1 vote
0 answers
60 views

Lightning Network node collusion

I' m learning about Bitcoin and LN enjoying Antonopoulos's excellent "Mastering Bitcoin" book I stumbled upon Figure#7 in Chapter 12 https://github.com/bitcoinbook/bitcoinbook/blob/develop/...
  • 21
1 vote
1 answer
290 views

Reuse of payment hash in Lightning Network

Suppose there exist two such payment transfer request: A transfers 1 msat to R via A->B->C->R and S transfers 5 msat to R via S->B->C->R. Let the two HTLCs be formed across both the paths ...
0 votes
0 answers
26 views

Failing channel

Suppose I try to send a payment along a route with channels c_1, c_2, ..., c_k. Suppose that the payment fails with error code 204 (WIRE_TEMPORARY_CHANNEL_FAILURE), and the erring channel is c_t. Does ...
0 votes
1 answer
31 views

Problem calculating routing fees

I'm trying to compute the routing fees for a lightning network payment of 100,000 msats. The route uses the following sequence of channels (CHAN1 is not shown for privacy reasons): CHAN1 (base fee: ...
0 votes
0 answers
65 views

Can't make 1 hop lightning payment, no route

I'm trying to send a payment on the Lightning testnet. I'm running 3 nodes on 3 computers on my network. So far I've setup two channels, and sending sats between the channeled nodes has been fine. A &...
0 votes
0 answers
23 views

Alternative fee functions for the Lightning Network

The current Lightning Network specification allows channel peers to specify a base fee and a proportional fee. In other words, the fee charged is a linear function of the forwarded amount. While that ...