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
1 vote
1 answer
56 views

Lightning routing fees received between 2 channels with 0 feerate?

Something strange just occurred on my LND node, making me think I don't understand something about lightning fees. I have channels to A & B, who only ever asked me to route transactions going to C....
bartoli's user avatar
  • 43
1 vote
1 answer
180 views

How can I circumvent an “Unable to open channel, funding amount is too large” error?

Getting this error when trying to open a channel with an existing peer: Unable to open channel, funding amount is too large, the max channel size is: 0.16777215 BTC Where is this limit set up and why ...
SuperAtic's user avatar
  • 131
3 votes
0 answers
196 views

What does the tlsextraip setting do in LND?

The lnd.conf documentation says: ; Adds an extra ip to the generated certificate. Setting multiple tlsextraip= entries is allowed. ; (old tls files must be deleted if changed) ; tlsextraip= I think ...
Zephyrus's user avatar
  • 782
2 votes
1 answer
92 views

What does the disabled field of the RoutingPolicy object mean in LND?

lnd v0.15.3-beta The documentation for lnrpc.RoutingPolicy shows a boolean field called disabled, but it provides no definition of what that means. Each channel has 2 peers, and each peer in a channel ...
Zephyrus's user avatar
  • 782
2 votes
1 answer
85 views

How can I establish a connection with an IPv4 peer when my node has only IPv6?

I have a channel with someone who only has IPv4. I only have IPv6. How can I redirect the port in my LND to accept IPv4?
user209474's user avatar
3 votes
1 answer
92 views

What is involved in the "database compaction" of a LND node?

As lightning network channels route payments, channel updates require the 2 channel peers (Alice & Bob) to do a round of signing and trade commitment transactions for the most up-to-date channel ...
oz21m's user avatar
  • 107
4 votes
1 answer
156 views

What is the November 2022 bug in LND, what caused it and what would prevent a similar bug in future?

LND users are being asked as of November 2022 (as they were in October 2022) to urgently update their Lightning node software due to a bug in LND/btcd (alternative Bitcoin implementation in Go). What ...
Michael Folkson's user avatar
1 vote
0 answers
65 views

my LND is not 100% up and want to check how long can I stay offline in each open channel

I'm newbie and running LND and few channels. But my power supply is not stable and it goes offline many times in a week. sometimes even for 8 hours. How do I check if the time locks of my channels ...
thevikas's user avatar
  • 303
0 votes
0 answers
240 views

lnd fails to connect to the network

Ubuntu 22.04 lnd 0.15.3-beta tor 0.4.6.10 When I run lnd, it never connects to the network. The output contains the line: [ERR] SRVR: Unable to retrieve initial bootstrap peers: no addresses found ...
Zephyrus's user avatar
  • 782
3 votes
0 answers
151 views

Lightning Network snapshot via lncli describegraph only includes about half the network?

I pulled a snapshot of the Lightning Network via lncli describegraph with my Umbrel node in July 2022. Everything worked fine and I analyzed the snapshot: ~18k nodes ~85k channels ~4k BTC total ...
Mike Nash's user avatar
2 votes
1 answer
246 views

What is the current status of watchtower implementations in October 2022? Are they mature, widely in use?

One way of protecting yourself against losing money as a result of bugs and crashes in your Lightning node implementation software (e.g. the recent LND bug) is to run a watchtower yourself or employ ...
Michael Folkson's user avatar
2 votes
1 answer
403 views

What is the October 2022 bug in LND, what caused it and what would prevent a similar bug in future?

LND users are being asked as of October 2022 to urgently update their Lightning node software due to a bug in LND/btcd (alternative Bitcoin implementation in Go). What is the bug and what caused it? ...
Michael Folkson's user avatar
3 votes
1 answer
144 views

Lightning: why don't balances add up to capacity?

I've created a brand new lightning channel with two nodes. I loaded the channel with "capacity": "1000000", but "local_balance": "999056". I know that "...
user339946's user avatar
0 votes
1 answer
88 views

How to allow access to ports 9735 and 10009 on an AWS EC2 instance?

I am trying to allow access to ports 9735 and 10009 on an AWS EC2 instance as per https://github.com/alexbosworth/run-lnd My instance currently has 2 security groups and I am not sure how to proceed: ...
Cliff Peskin's user avatar
0 votes
1 answer
236 views

How to run bitcoind and lnd on separate machines on the same network

I have a bitcoin full node running on a raspberry pi 3b but it doesn't have enough memory to also run lnd at the same time so I'm trying to do that on a separate machine connected to the same network. ...
gruntled's user avatar
1 vote
0 answers
150 views

Difference in lightning network node/channel stats between my LND, what's shown in amboss and 1ml.com

When I run ./lncli getnetworkinfo I get the following: { "graph_diameter": 13, "avg_out_degree": 5.67523205795789, "max_out_degree": 117, "num_nodes&...
saiy2k's user avatar
  • 175
2 votes
1 answer
1k views

How to setup Lightning Node on Windows Desktop in 2022?

I have gone through setting up lightning node, but a lot of resources stated to get hardware and to run LND through command line. But How can we setup a Lightning node in regular laptop with nice GUI ...
Arjun Reddy's user avatar
0 votes
1 answer
33 views

Does the payment for both parties are settled instantly in Lightning Network

Unlike Force Close mechanism, where there is a time lock, making settlement to take time, Does mutual closing channel funds settlement takes long time or funds are settled between channel partners ...
Arjun Reddy's user avatar
1 vote
0 answers
153 views

LND: How to use whole UTXO to open a channel?

How can I use an UTXO completely to open a Channel? Do I have to calculate the fees by hand to do this? If so, what would it be if I have a 1 million sat UTXO and set fees to 3sat/vB?
Luffy's user avatar
  • 11
1 vote
0 answers
298 views

Lnd invoice lookup

I am trying to get single invoice with GET /v2/invoices/lookup endpoint on LND REST API by its id as documented here: https://api.lightning.community/?javascript#v2-invoices-lookup. But whatever I do ...
Jan Husák's user avatar
0 votes
1 answer
89 views

How would you send more than a channel's capacity?

Let's say Alice wants to send Bob 1BTC. So, let's say Alice funded a channel with Bob of 1BTC+some minuscule amount of BTC for fees and let's say Alice transferred the whole channel capacity to Bob. ...
Arjun Reddy's user avatar
2 votes
2 answers
451 views

Why does CLN (Core Lightning) sync from Genesis while LND only syncs from the wallet's birthday?

I've installed two major Lightning Network implementations, CLN (formerly c-lightning) and LND, with bitcoind testnet as backchain on the same server. On the first startup I noticed CLN synchronizes ...
Gabriel Rebello's user avatar
1 vote
1 answer
274 views

How can i get the payee public key from the payment request

I'm trying to get the payees public key (destination node) from the payment request. You can see an example here. In the source code for (https://lightningdecoder.com/) it seems like they get it from ...
Ole Henrik Skogstrøm's user avatar
0 votes
0 answers
209 views

How to connect multiple LND noeds on different machines to a single Bitcoin Core?

I have an AWS EC2 instance. The instance has Bitcoin Core (Testnet) node and a LND node. It is working fine. Now, I want to install another LND on a different EC2 instance, but connect it to the same ...
rajaS's user avatar
  • 1
1 vote
1 answer
135 views

Can I make a keysend/amp payment having an invoice?

I am trying out sending/receiving payments between BlueWallet, Muun wallets and my locally running lnd node. I managed to successfully pay an invoice generated by BlueWallet or Muun from lnd node on ...
Sergei Basharov's user avatar
0 votes
1 answer
329 views

Command lnd not found even after installing lnd

I tried installing lnd using the commands shown in the installation guide. I used these commands: git clone https://github.com/lightningnetwork/lnd cd lnd make install but when I try running the lnd ...
AidenFive's user avatar
5 votes
1 answer
452 views

Unilateral close because of HTLC in remote commitment

I run lnd on my node and sometimes see messages like this: [INF] CNCT: ChannelArbitrator(CHANPOINT): immediately failing htlc=HTLCID from remote commitment The corresponding close transaction sent ...
C-Otto's user avatar
  • 442
0 votes
1 answer
43 views

Is a lightning wallet registered in bitcoin blockchain?

Say, I create a wallet with an lnd create command. As everything is initially on Bitcoin blockchain, will the wallet address/metadata be written into blockchain? So, can I find the address of my ...
Sergei Basharov's user avatar
4 votes
1 answer
1k views

Under what conditions would lightning channels be force closed automatically?

I suspect this depends heavily on the implementation, but maybe someone can shed light on the circumstances that would lead an implementation to force close a channel automatically. A user asked this ...
k00b's user avatar
  • 43
1 vote
1 answer
349 views

LIGHTNING LND failed to load config: lnd.conf: unknown option: logdir?

In my lnd.conf: logdir=Z:\LND\logs logdir is a valid option according to: sample-lnd.conf but I get: Z:\LND> .\lnd --configfile=Z:\LND\lnd.conf failed to load config: Z:\LND\lnd.conf:55: unknown ...
JDOaktown's user avatar
  • 206
1 vote
1 answer
57 views

Which LN implementation is better for developing Lightning apps in python(django framework)?

May be a noob question but I want to develop lapps in python(django framework for the web part)? Does the implementation make a difference? If yes, how?
Efe's user avatar
  • 407
1 vote
0 answers
380 views

Low cost option to run Lightning node in Cloud

I like to run a Lightning node and need some inputs. Providing Internet, Electricity 24*7 to my home system/Raspberry (Umbrel setup) is super challenging in my place. Like to know if running pruned ...
saiy2k's user avatar
  • 175
2 votes
1 answer
40 views

EstimateFee - Invalid Length Destination Key

Background I have setup a regnet test network with two LND nodes. One to send money and the second (lnd2) to generate invoices on. I am writing code to simulate a mobile app. I'm currently trying to ...
btclibertarian's user avatar
2 votes
2 answers
528 views

Why is lnd's channel.db so huge and when will it stop growing

I am running my lnd node since about 60 days. Looking at the file channel.db, I found it grows currently about 500M per day: btc@xxx:~/.lnd$ ls -al ./data/graph/mainnet/channel.db -rw------- 1 btc btc ...
Rainer Feike's user avatar
0 votes
1 answer
199 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, ...
dadbeef's user avatar
1 vote
1 answer
502 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 ...
Rainer Feike's user avatar
3 votes
1 answer
353 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:...
Rainer Feike's user avatar
1 vote
2 answers
91 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. ...
Raj Saraogi's user avatar
3 votes
1 answer
105 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 ...
Michael Tidwell's user avatar
6 votes
1 answer
240 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 ...
jayt.dev's user avatar
  • 203
0 votes
1 answer
78 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? ...
alec_djinn's user avatar
1 vote
0 answers
51 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 ...
deekee's user avatar
  • 51
4 votes
1 answer
102 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 ...
jayt.dev's user avatar
  • 203
0 votes
2 answers
402 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 ...
Anton Kovalenko's user avatar
4 votes
0 answers
168 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 ...
SamCymbaluk's user avatar
1 vote
0 answers
275 views

How to use one LND for multiple wallets

How to use one LND node for multiple independent wallets for different people?
thevikas's user avatar
  • 303
1 vote
1 answer
49 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-...
jkt's user avatar
  • 11
2 votes
2 answers
290 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 ...
Gabriel Rebello's user avatar
0 votes
1 answer
81 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: ...
Ramon Tayag's user avatar
0 votes
1 answer
912 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&...
alec_djinn's user avatar