Questions tagged [lightning-network-daemon]

A complete implementation of a Lightning Network node developed by Lightning Labs and other contributors. Licensed under MIT. LND needs btcd, bitcoind, or neutrino as a back-end service.

Filter by
Sorted by
Tagged with
0
votes
1answer
18 views

Lightning circular rebalance never succeeds

I've tried using lnd, lnd-rebalance, Ride the Lightning, and Thunderhub. I've tried raising fees to a silly amount, and rebalances as low as 50k sats. I am participating in a number of triangle swaps, ...
1
vote
1answer
36 views

Where are my lightning routing fees stored (lnd), when do they get payed out?

I watch my lightning node (lnd) routing some amounts. And with lncli feereport I see some sums, let's say 700 sats for this week. But where are those sats? How can I lookup the accumulated routing ...
0
votes
0answers
28 views

No routes found for LN triangle swap

I just joined this swap with my lightning node, but we are unable to do a circular rebalance. Austronode was able to rebalance 500k sats to my channel, but they weren't routed through btcishope, which ...
3
votes
1answer
35 views

lnd stoped routing - unable to update fee rate

I used to have about 5 routings per day. Now, since three days I don't have any routing. In my lnd.log I find lines like this: grep ERR lnd.log 2021-09-19 22:40:53.187 [ERR] HSWC: ChannelLink(700510:...
0
votes
2answers
59 views

What are the various Bitcoin nodes available which I can connect to via my lightning node

I am thinking of running my own lightning node in testnet. Going through the tutorials it seems the lightning node needs to be connected to bitcoin node inorder to get connected to bitcoin network. ...
2
votes
1answer
61 views

Specifying delivery addresses on channel closes - includes force closes?

In https://github.com/lnbook/lnbook/blob/develop/07_payment_channels.asciidoc We see this block of text: Typically the addresses used in this cooperative close transaction are generated freshly for ...
4
votes
0answers
56 views

How can I increase the routing my 'small' lighting node performs?

I know this question has been asked a lot. However I am not able to grasp the correct approach to address this. Let me give you the context: I spun up an LND node to start experimenting and ...
0
votes
1answer
19 views

Why are some on-chain transactions marked RED on RTL (Ride the Lightning)

I have an LND node and I use RTL to interface with it. I noticed that for some of the on-chain transactions, the Amount(Sats) value is marked in RED, why so? What happened with those transactions? ...
1
vote
0answers
22 views

Procedure to recover BTC stuck in 2/2 Multisig

I opened a 2M Sat Channel and my peer should send me back 1M Sats Onchain, as I have pushed half. Now unfortunately, I’ve sent my peer the address of the 2/2 Multisig of the funding TX and not the ...
4
votes
1answer
80 views

Does balance broadcasting hinder scalability of LN?

Rene Pickhardt states in his research that broadcasting the balance values would hinder the scalability of the Lightning Network meaning that broadcasting the local and remote balance of each channel ...
0
votes
2answers
66 views

lnd recovery with no seed, but with xprv

Suppose I have an obsolete copy of lnd database (with unlock password), and an up-to-date static channel backup, but I don't have seed words to attempt normal lnd recovery. I can, however, retrieve ...
4
votes
0answers
41 views

Sign lightning channel creation PSBT with Golang

I'm trying to open a channel on regtest with LND v0.13.0-beta.rc3 using their PSBT workflow to allow for remote signing. I've done the following steps: I create a regtest wallet using the BIP39 ...
1
vote
0answers
29 views

How to use one LND for multiple wallets

How to use one LND node for multiple independent wallets for different people?
1
vote
1answer
20 views

Does got any optimise method can swap/splice/loop channel without on-chain cost in lighting node?

if I got custom Node and Alice has 3btc and bob got 0btc and bob got 0btc with Tom 1 btc. Is it possible we can change channel for Alice 3btc with Tom 1 btc. And close Tom. And it doesn’t go to on-...
3
votes
2answers
73 views

Delay of a revocable transaction in the Lightning Network

The Lightning Network Whitepaper describes the concept of Revocable Sequence Maturity Contracts (RSMC), which allows a commitment transaction to be revoked during a predefined delay after the channel ...
0
votes
1answer
29 views

How to encode for LND `/v2/signer/verifymessage`?

Talking to just one node (baby steps), I want to call /v2/signer/verifymessage giving the output of lncli signmessage "Hello, Jessica". On the alice node on Polar, I get: ...
1
vote
1answer
171 views

Lightning-Network Channel not being closed and balance in "limbo"

My node Caffeine has a channel in pending status (close txid: 0de535ea74d72a952157640187b5a207fe977870a5c9b92f0aa99b9707c94779) with The Cave since months! My local balance is stuck in a "limbo&...
0
votes
0answers
18 views

Data from lncli describegraph and 1ml.com [duplicate]

So I have extracted the Lightning Network graph using the method mentioned here https://gist.github.com/bretton/0b22a0503a9eba09df86a23f3d625c13 using lncli describegraph. The node count is 11093 but ...
0
votes
1answer
53 views

Why does bitcoind have to listen to the public internet when supporting lnd?

I have been part of experimenting with setting up a system to send and receive lightning network payments. The system uses bitcoin-core (bitcoind) and lnd. Initially, the system was set up on a home ...
3
votes
1answer
760 views

Setting up lightning with bitcoin-core

I have some questions about bitcoin-core and lightning-network-daemon. I have succesfully set up a bitcoin node running on Ubuntu Server 20.04 by following this tutorial: https://bitcoin.org/en/full-...
-1
votes
2answers
190 views

How exactly do I use Lightning Network? Does it even actually exist?

http://lightning.network/how-it-works/ Where is the download button for the official, highly trusted CLI application which works with Bitcoin Core? So that I can actually make Lightning transactions? ...
0
votes
1answer
43 views

How do I explore the current commitment transaction for a channel?

I would like to see how a commitment transaction for a given payment channel looks like (without actually closing the channels and transmitting the transaction to the network :) I assume that all of ...
3
votes
2answers
795 views

What is the difference between wallet balance, local balance and remote balance in the Lighting Network?

I am having a hard time understanding the difference between the different "balances" in the Lighting Network. For example, I am running an LND node and I have the following balances: $ ...
2
votes
0answers
158 views

Lightning Node (MyNode) gone missing. How to recover funds?

I had a RaspPi/MyNode with a few LND channels open. The node has unfortunately gone missing/stolen and I'm trying to figure out the best way to get the funds back. I have access to my seed words for ...
0
votes
1answer
122 views

LND doesnt create macaroons or directories

I installed lnd and got to the point of creating a wallet with "lncli create" but I get an error "unable to read macaroon path" and gives the path of where the macaroon should be. ...
1
vote
1answer
127 views

Problem with the first Initialization of my LN node, dial tcp my-external-ip:9735: connect: connection timed out

Background I was following 402 Payment Required's LN video and everything was good until the moment of the first Initialization of my LN node. I got an error: dial tcp my-external-ip:9735: connect: ...
1
vote
0answers
51 views

When commit_fee (fee_per_kw) renegotiation?

Looking at my channels on lnd node, fee_per_kw values are different for some channels (13332 or 6422). How is the fee_per_kw calculated when opening the channel? Does it take current bitcoin fees ...
1
vote
1answer
70 views

Who bears the transaction fee for settling HTLC in Lightning Network?

Given a channel that exist between Alice and Bob, where Alice wants to transfer 0.0001 BTC to Bob. Alice makes HTLC payment to Bob contingent to the secret for the payment hash within a timelock of ...
1
vote
1answer
83 views

How can wallet software implement automatic channel management for Lightning Network?

If I'm building a desktop Bitcoin wallet with Lightning support, and I don't want the user to have to worry about channel management, what's the way to achieve that? I've seen the autopilot solutions ...
1
vote
1answer
156 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 ...
2
votes
1answer
35 views

what is the macaroon max length

In an LND node, what is the max size, in bytes, of a macaroon. If there is no explicit max length, what can you reasonably expect to be the size of your macaroon?
0
votes
1answer
157 views

Transaction size limit across a single path in a Lightning Network and fee earned

Given MPP is included in the current version of lnd, an arbitrarily large transaction can be processed in the network. What is the transaction size limit across a single path? Is it still bounded to 0....
1
vote
1answer
66 views

Run lightning-charge on c-lightning regtest

I'm trying to run lighting-charge (https://github.com/ElementsProject/lightning-charge) on top of one of my 2 lightning (https://github.com/ElementsProject/lightning) instances. I am running 2 nodes ...
2
votes
2answers
562 views

LND funding transaction stuck in mempool due to low fees

I have a funding transaction stuck in mempool due to low fees. Searchng around I have find that there is "BumpFee" wallet option to push your transaction. i have tried in this way: ~$ lncli wallet ...
0
votes
1answer
62 views

Converting NodeID and BitcoinKey from Lightning Network (LND) logs

From the LND logs I have something like this (I changed some characters for privacy): NodeID1: ([33]uint8) (len=33 cap=33) { 00000000 02 19 8b 61 42 18 89 24 74 fc 95 ed 64 c4 77 91 |.9.a@(.$t......
3
votes
1answer
318 views

Get invoice amount from payment request - LND REST API

I'm using the REST API of my LN node to generate and pay invoices. I would like to know how to get the invoice amount/value in sats from the payment request I receive. I found this : https://api....
2
votes
2answers
221 views

Lightning Network: How was the maximum allowed HTLCs in flight computed?

The maximum acceptable max_accepted_htlcs (maximum number of HTLCs forwarded concurrently) is specified by the BOLTS as being 483. How was this value chosen ?
0
votes
1answer
129 views

Receiving payment on Lightning Network with LNBig as initial funder?

I was able to open a channel to myself from LNBig and withdrew 100 sats from Reddit's lntipbot. This appeared to be successful! Output of lncli channelbalance: { "balance": "100", "...
0
votes
1answer
129 views

Lightning Network LND - Retrieve payment by hash

How do I get an outgoing Payment by paymentHash using LND REST API? I know that GET /v1/payments returns all payments, but I would like to get one in particular, not all as there may be thousands. ...
3
votes
0answers
566 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 ...
0
votes
1answer
143 views

What is the 'tlv_payload' in lnd route?

When creating a custom route, if you use the queryroutes from lnd it sometimes with tlv_payload set to either True or False. How does the node figure whether to set this flag? I cant seem to find ...
6
votes
2answers
412 views

Lightning Node High Availability/High Throughput

Are there any resources/best practises on running a highly available/high throughput lightning node? If my lightning service where to take off, should I be running multiple lightning nodes or a single ...
0
votes
1answer
219 views

Lnd - how to open a double-funded channel

I know about lncli openchannel, however this means I will open a (bidirectional) channel with my peer, but initially just my side will have some balance. Let's say I agree with a collegue running ...
1
vote
2answers
299 views

How to connect LND to bitcoind RPC with authentication cookie stored in a custom folder?

I configured bitcoind RPC to authenticate clients with an authentication cookie. However I cant figure out if it's possible to use this method with lnd while connecting to bitcoind RPC. I would like ...
2
votes
1answer
130 views

Lost funds on my lightning node?

I've been using lightning network daemon (LND). In an effort to have a balanced node with somewhat equal amounts on both side of my channels, I've sometimes opened channels with the command lncli ...
4
votes
1answer
207 views

How and When are lightning channels disabled?

On the testnet and some mainnet there are channels which are disabled, so if you try to route a payment through them it failed with this as an error message. Reading through the RPC commands, it seems ...
3
votes
1answer
238 views

How does the 'queryroutes' function in lightning's LND calculate the route fees?

I am testing my own routing implementation and for some weird reason a handful of channels reject my payment stating InsufficientFee. The scenario is A -c1-> B -c2-> C whereby Node A is ...
4
votes
1answer
357 views

How to migrate Lightning (LND) from local laptop to external myNodeBTC node

I am in the process of migrating my LNP/BP stack from a Windows laptop to a dedicated myNodeBTC (RaspPi) device. My node on the Windows laptop was installed using Node Launcher. I already have the ...
2
votes
2answers
122 views

How do I prevent lnd from participating in new channels?

I have a lnd node that I would like to to cycle down completely. I would like to close all its channels and prevent that the node participates in any new channels while I'm waiting for the force-...
8
votes
1answer
416 views

What are the downsides of Hodl Invoices?

As far as I understand hodl invoices enable some interesting use cases. However, I heard that they can be detrimental to the network. Is that correct and in what way? Additionally, at a talk at the ...