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
34 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 ...
user avatar
0 votes
0 answers
40 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 ...
user avatar
  • 1
1 vote
1 answer
21 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 ...
user avatar
0 votes
1 answer
26 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 ...
user avatar
0 votes
0 answers
51 views

Why is my LND node flagging channels as inactive?

My LND node (version 0.14.2), flags some channels as inactive. The command lncli getchaninfo shows, that given channels are only flagged as disabled by my node, not the remote. The odd thing is, that ...
user avatar
5 votes
1 answer
186 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 ...
user avatar
  • 258
0 votes
0 answers
26 views

Does a custodial service have to run tons of services for its wallets?

I am looking at lnd docs and it says that in an easy-mode I can have only one wallet which is online and running at a time. If I decide to build a custodial wallet service like BlueWallet for my 50 ...
user avatar
0 votes
1 answer
25 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 ...
user avatar
0 votes
0 answers
30 views

Connect to ZMQ's tor hidden service

Is it possible to create a hidden service with torrc configured as follows to connect lnd on vps to bitcoind at home? HiddenServiceDir /var/lib/tor/zmq_block/ HiddenServicePort 28332 127.0.0.1:28332 ...
user avatar
  • 1
2 votes
1 answer
136 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 ...
user avatar
  • 23
0 votes
0 answers
23 views

Can't send to multiple addresses from LND rest api

Am trying to send sats to multiple addresses within the same transaction Following the doc, the call should be something like this : MACAROON_HEADER="Grpc-Metadata-macaroon: $(xxd -p -c 1000 .lnd/...
user avatar
  • 246
0 votes
0 answers
39 views

bitcoin - lightning network - docker: connection problem

I use this docker-compose file to create 2 users and I was able to make a payment over lightning on regtest. The tutorial was made with btcpayserver/bitcoin:0.18.0. Now I want to upgrade this image to ...
user avatar
  • 285
0 votes
0 answers
63 views

Can I connect from lnd on vps to bitcoind on my home network?

I want to change my lnd on ec2 from neutrino mode to full node mode and connect to my Umbrel bitcoind at home, I do not want to use ssh tunneling as much as possible and would like to connect to ...
user avatar
  • 1
0 votes
0 answers
83 views

lncli getinfo: the RPC server is in the process of starting up

I use two docker containers on Ubuntu: bitcoind and lightninglabs/lnd:v0.14.2-beta I'm in testnet. bitcoind is up to date with the blockchain. I have 2 questions: How do I know if lnd is connected to ...
user avatar
1 vote
1 answer
55 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 ...
user avatar
  • 164
0 votes
0 answers
33 views

How to send a Lightning invoice directly to a peer?

I wonder if there the popular Lightning clients offer a command to not only create an invoice, but also directly send it to a peer (or any node). I see in BOLT04 and BOLT11 that the invoice is ...
user avatar
  • 43
1 vote
1 answer
35 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?
user avatar
  • 171
1 vote
0 answers
97 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 ...
user avatar
  • 155
1 vote
0 answers
17 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 ...
user avatar
2 votes
1 answer
161 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 ...
user avatar
0 votes
1 answer
80 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, ...
user avatar
1 vote
1 answer
204 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 ...
user avatar
0 votes
0 answers
56 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 ...
user avatar
3 votes
1 answer
135 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:...
user avatar
1 vote
2 answers
76 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. ...
user avatar
2 votes
1 answer
70 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 ...
user avatar
5 votes
0 answers
86 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 ...
user avatar
  • 193
0 votes
1 answer
34 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? ...
user avatar
1 vote
0 answers
34 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 ...
user avatar
  • 11
4 votes
1 answer
96 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 ...
user avatar
  • 193
0 votes
2 answers
152 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 ...
user avatar
3 votes
0 answers
71 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 ...
user avatar
1 vote
0 answers
83 views

How to use one LND for multiple wallets

How to use one LND node for multiple independent wallets for different people?
user avatar
  • 293
1 vote
1 answer
33 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-...
user avatar
  • 11
2 votes
2 answers
163 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 ...
user avatar
0 votes
1 answer
48 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: ...
user avatar
0 votes
1 answer
352 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&...
user avatar
0 votes
1 answer
61 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 ...
user avatar
3 votes
1 answer
2k 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-...
user avatar
-1 votes
2 answers
251 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? ...
user avatar
1 vote
1 answer
68 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 ...
user avatar
3 votes
2 answers
1k 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: $ ...
user avatar
2 votes
0 answers
212 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 ...
user avatar
0 votes
1 answer
164 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. ...
user avatar
  • 3
1 vote
1 answer
202 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: ...
user avatar
1 vote
0 answers
60 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 ...
user avatar
  • 1,584
1 vote
1 answer
111 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 ...
user avatar
1 vote
1 answer
104 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 ...
user avatar
  • 133
1 vote
1 answer
242 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 ...
user avatar
2 votes
1 answer
46 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?
user avatar
  • 1,369