Skip to main content

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
0 answers
393 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 ...
1 vote
1 answer
270 views

How can I see what is bitcoin tx for pending Lighting channel (lnd)

When I open a new Lightning channel from lncli I get the blockchain tx hash back. But afterwards how can I find this hash later on, if the channel is still pending state? lncli pendingchannels does ...
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 ...
3 votes
2 answers
2k views

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

I am having a hard time understanding the difference between the different "balances" in the Lightning Network. For example, I am running an LND node and I have the following balances: $ ...
4 votes
1 answer
2k 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 ...
1 vote
1 answer
356 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 ...
2 votes
2 answers
298 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 ...
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?
10 votes
2 answers
4k views

Running lightning in prune mode

I am running lightning with the LND implementation and a full node. Nevertheless, I heard that it is possible to use Lighting in pruned mode. How is this possible? I read in the LND install ...
0 votes
1 answer
202 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, ...
6 votes
1 answer
3k views

How does lnd's autopilot feature work?

Autopilot automatically connects to peers in order to establish a p2p network. I didn't find however a complete explanation of its motivation and logic.
1 vote
1 answer
159 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 ...
3 votes
1 answer
358 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:...
1 vote
1 answer
507 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 ...
1 vote
3 answers
2k views

My lnd node hasn't routed any payments (1 week + since initial setup)

So I finally setup a lightning node (lnd) and according to "feereport" I haven't routed any payments (no fees collected). I have used my node to send payments (yalls, satoshis.place, blockstream...) ...
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. ...
3 votes
1 answer
107 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 ...
1 vote
1 answer
347 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: ...
3 votes
2 answers
1k 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
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? ...
0 votes
2 answers
408 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 ...
1 vote
0 answers
53 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
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 ...
1 vote
0 answers
283 views

How to use one LND for multiple wallets

How to use one LND node for multiple independent wallets for different people?
0 votes
1 answer
926 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
1 answer
85 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 ...
2 votes
1 answer
2k views

Lightning Wallet (lnd) - Export Private/Public Keys?

Is it possible to export keys from a Lightning Wallet, specifically lnd? I started opening my first channels, and most of what I'm reading says that you want to monitor your wallet balance (in the ...
1 vote
2 answers
270 views

For how long has a channel been inactive?

I would like to close channels for which there is enough evidence that the remote node disappeared and won't come back. So my idea was to check for how long a channel has been inactive, and if it is > ...
3 votes
1 answer
3k 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 vote
0 answers
703 views

Bitcoin LND Lightning Network Daemon, pending open channel, opening transaction never confirmed

I'm running LND 0.7.0-beta on top of Bitcoind 0.18.0 and have a channel that has been pending on opening for more than a month now. It tried to open when I was still running LND 0.6.1-beta. The txid ...
-1 votes
2 answers
312 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? ...
2 votes
1 answer
178 views

I can pay invoices on my mainnet LND node, but others cannot pay my invoices

I have an LND node running the 0.5.2-beta release on a 2 core, 8GB ram Ubuntu 16.04 VM. This is my node: https://1ml.com/node/02d5efae50c1cdc6011e40b74f061ea4f444088865ec14a59e4ee6cf0d71c842fc I used ...
3 votes
1 answer
635 views

How can you construct a cycle with LND to rebalance one of your channels with another? [duplicate]

I have at least two open channels, one of which has inbound capacity and the other has outbound capacity. How can I find a route and construct a payment to rebalance my channels against each other ...
1 vote
2 answers
463 views

How to check version number of lnd?

New lnd version came out recently, but I'm not sure which version I'm running. How can you check?
1 vote
2 answers
1k views

RPC calls to LND using curl?

I have a bitcoind and LND server running. I can make RPC calls to bitcoind using curl, like this: curl http://XXX:YYY@localhost:8332 -H 'content-type:text/plain;' --data-binary '{"jsonrpc":"1.0","id":...
0 votes
1 answer
172 views

What is a stub from the lightning grpc documentation?

For example, very often in the lightning documentation for their grpc api, you will see the following boilerplate python code: >>> import codecs, grpc, os >>> import rpc_pb2 as ln, ...
1 vote
2 answers
698 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 ...
1 vote
1 answer
155 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 ...
0 votes
2 answers
1k views

How to find out if LND opening pending channels has a confirmation onchain?

After typing lncli pendingchannels I get a channel_point number, and when I put channel_point txid to check if it was confirmed onchain by typing: bitcoin-cli gettransaction "txid insert" I get an ...
2 votes
0 answers
336 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
1 answer
272 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
1 answer
939 views

How do I get credentials on the bitcoin network?

I'm setting up an LND node so I can learn about Lightning Networks. I apparently need a set of user credentials so that I can connect to the network. How do I get the credentials that I need to set ...
2 votes
1 answer
84 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?
8 votes
2 answers
675 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 ...
3 votes
1 answer
139 views

LND errors after upgraded to v0.5.2

Recently upgraded to the latest lnd version (following the stadicus guide) but once i restarted the client i keep getting this error when i check the logs: [ERR] LNWL: Failed to process consensus ...
2 votes
2 answers
1k views

How to set up LndHub on top of RaspiBolt ir RaspiBlitz?

My goal is to support multiple LN clients without having to run a full node for each client. How to set up LndHub on top of RaspiBolt or RaspiBlitz?
1 vote
0 answers
107 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
1 answer
389 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
1 answer
159 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 ...
1 vote
1 answer
431 views

Lightning Node Daemon hangs at "Initializing btcd backed fee estimator"

I have been trying to connect to my btcd backend on an external server but when I run: lnd --bitcoin.active \ --bitcoin.mainnet \ --debuglevel debug \ --btcd.rpcuser myuser \ --btcd....