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
53 views

Sats stuck in "pending" after lightning channel force closure

I had a lightning channel force close because the other node went offline. Its now been 24 days yet the on chain sats are still stuck in "Pending" status and can't be spent. This is the ...
j5s's user avatar
  • 31
2 votes
0 answers
13 views

Are there internal 1sat invoices in LND?

Every day I find several (like 3) amount=1 sat invoices in my lnd's listinvoices. These invoices have an empty payment_request, a zero expiry, an empty description_hash etc. Is this kind of a health ...
Rainer Feike's user avatar
1 vote
1 answer
50 views

bech32 serialized lightning invoice from lnd rest endpoint /v1/invoices

I am using the LND Rest API to create an invoice. As response I get something like {'r_hash': 'Wchr...E=', 'payment_request': 'lnbc210n1p....z9s', 'add_index': '4', 'payment_addr': 'Lyn...50=' } ...
Rainer Feike's user avatar
0 votes
0 answers
18 views

LND per_commitment_secret

I'm trying to restore per_commitment_secret from channel.backup file (LND). What is the seed? Is the seed saved in channel.backup file? BOLT #03 per_commitment_secret calculation generate_from_seed(...
Pawel's user avatar
  • 21
1 vote
0 answers
33 views

LND per-commitment-secret derivation

For learning purposes I'm trying to recreate all keys in LND channel. I could reproduce MultiSigKey, RevocationBasePoint, PaymentBasePoint, DelayBasePoint, HtlcBasePoint. The workflow to reproduce ...
Pawel's user avatar
  • 21
0 votes
0 answers
48 views

Determine the amount to pay to send bitcoin from lnd (lightning network) to on-chain address

I am currently working on a project that requires multiple users using lightning network to generate and pay invoices through my website but I want to be able to calculate each user's transaction fee ...
Topman's user avatar
  • 11
2 votes
0 answers
25 views

How to implement Just in Time Routing on our lightning node

Can anyone here tell me how to implement "Just in Time Routing" for our lightning node? We are running Umbrel for our node so if this is possible / feasible can it also be automated? Thank ...
Orange_Bitcoin's user avatar
1 vote
0 answers
28 views

Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)?

Which are the default features enabled on the main three Lightning Network node implementations (LND, C-Lightning and Eclair)? I mean the features shown when you use "describegraph" command.
Mani T's user avatar
  • 169
1 vote
1 answer
25 views

How can I update lnd to 0.17 on Windows?

I am running lnd 0.16.2 on a Windows 10 system. I just downloaded v0.17. Can I just drop the new files lnd.exe and lncli.exe into my directory and run on the same install? Any tweaks needed?
ondawoad's user avatar
4 votes
1 answer
161 views

Can I safely share my bitcoind instance for separate LND instances of different users?

Currently I have my own full bitcoind node running on a VPS and an LND instance connecting to it and working fine. However I am thinking, what if I share access to my bitcoind node to some other users ...
Sergei Basharov's user avatar
3 votes
1 answer
202 views

Can I run LND without ZMQ?

The documentation for LND says: ; ZMQ socket which sends rawblock and rawtx notifications from bitcoind. By ; default, lnd will attempt to automatically obtain this information, so this ; likely won't ...
Zephyrus's user avatar
  • 658
2 votes
0 answers
29 views

LND how to recover abandoned channel

Years ago I used LND's abandonchannel command to abandon two channels, it was stupid and I didn't know what I was doing at the time. These are the only sats I ever lost. Ever since, whenever I use the ...
guy's user avatar
  • 31
1 vote
0 answers
44 views

Max amount of peers connections on LND

I'm trying to connect to a long list of peers. I'm running a LND(0.17.0) node. My list has almost 1k peers and I can only connect to 6 of them. Is my node limiting the max connections? If so, is it ...
polespinasa's user avatar
1 vote
0 answers
31 views

What is the most successful method to automate circular rebalancing?

What is the most successful method to automate circular rebalancing? We have tried the Torq and the LNDG app but so far they both do not wotk for us so we are still performing manual circular ...
Orange_Bitcoin's user avatar
0 votes
0 answers
23 views

What made the HTLCs pending here?

So today, i had 4 pending HTLCs to 2 nodes. The first 2 expired (i think i still had a connection to the peer), and the channel is now in force close state. The last 2 are still pending until expiry ...
bartoli's user avatar
  • 43
2 votes
1 answer
80 views

Why might my db be locked on starting bitcoin-qt after a clean shutdown and reboot?

I have LND v.16.2 running under Windows 10 with Bitcoin Core 23.0 on same machine. When I need to reboot, I gracefully stop my LND node and close bitcoin-qt from the GUI, waiting until it has ...
ondawoad's user avatar
0 votes
0 answers
43 views

Lightning funding transaction unconfirmed by lncli after two weeks

After installing lnd on a Windows 10 machine and being able to do a first funding of 200ksats and a de-funding of 100ksats with on-chain confirmed transactions, I sent myself on-chain a larger amount ...
ondawoad's user avatar
2 votes
0 answers
28 views

Do payment trial and error attempts in LND use valid preimages?

In mastering the lightning network, the following paragraph describes a facet of pathfinding The pathfinding mechanism implemented in Lightning nodes is to first create a list of candidate paths, ...
arshbot's user avatar
  • 1,710
1 vote
0 answers
51 views

Transaction in local mempool not broadcasted further

I created a bitcoin transaction from lnd (lncli sendcoins), and it seems to be created successfully and I can see it in my local bitcoind mempool: bitcoin-cli getmempoolentry abdctxid { "vsize&...
Dmitry Laptev's user avatar
0 votes
1 answer
42 views

How to go about performing invoice generation / payment processing with lightning network?

I am interested in implementing a micro-transaction "paywall" that will allow anonymous users access to a web application that I am building. Each unique visit to the home page of the ...
patrick's user avatar
  • 223
0 votes
0 answers
63 views

Failed Tls connection to LND with gRPC and REST using rust

I have been trying to connect to an LND node using Rust as a language. I have been constantly be given this error: tonic::transport::Error(Transport, hyper::Error(Connect, Custom { kind: InvalidData, ...
lescuer's user avatar
3 votes
1 answer
70 views

How to avoid a force closure of a channel in the future

On May 14th our channel with LNBIG-42 was force closed and has only returned to the wallet minus some fees a few days ago. https://mempool.space/tx/...
Orange_Bitcoin's user avatar
1 vote
1 answer
95 views

Force Closure of a channel with LNBig-42:

On May 14th our channel with LNBIG-42 was force closed. Not sure why but it could have been due to their node performing an update on the same day which caused a few other nodes to also have their ...
Orange_Bitcoin's user avatar
3 votes
2 answers
202 views

Automatic force closure and on chain settlement of expired HTLC

After roughly a month of mostly smooth operation a lightning node (LND 0.16.2-beta) automatically initiated a force closure of a channel. Two days later an expired HTLC was settled on-chain. In both ...
Andreas's user avatar
  • 41
1 vote
1 answer
78 views

Do LND reserve balances overlap with each other in any way?

LND 0.16.2-beta I'm looking at the commands walletbalance and listchannels (which has output similar to pendingchannels). I've modified the numbers in these examples. $ ./lncli walletbalance { &...
Zephyrus's user avatar
  • 658
1 vote
2 answers
188 views

Channel close fees too low

I closed a lot of channels in recent days - but for some of them I left the confirmation fee too low. I'm hoping the mempool will clear in the coming week and they will confirm. Is there a way to ...
Michael's user avatar
  • 37
0 votes
0 answers
295 views

Failed to connect with gRPC to remote LND: failed to connect to all addresses unavailable

I want to connect to my LND running on a raspberry pi linux from my macOS with gRPC. On the raspberry pi is also a bitcoin full node running bitcoind regtest. I used this tutorial: https://github.com/...
Luca F's user avatar
  • 27
0 votes
0 answers
78 views

Pending Chain Balance -Lightning Wallet:

I appear to have a stuck pending chain balance on my Lightning Node's Lightning Wallet. It has remained a pending chain balance for a very long time can someone please let me know how I can get this ...
Orange_Bitcoin's user avatar
1 vote
1 answer
95 views

lnd Command not found after installing from source

I want to run a lightning node. I already have bitcoin full node on a raspberry pi 4 external hard drive and I installed lnd on the hard drive like this: git clone https://github.com/lightningnetwork/...
Luca F's user avatar
  • 27
1 vote
1 answer
47 views

LND make install Error 127

I try to install LND like this: git clone https://github.com/lightningnetwork/lnd cd lnd sudo make install I get the following error: /bin/sh: 1: go: not found make: *** [Makefile:112: install] Error ...
Luca F's user avatar
  • 27
0 votes
0 answers
25 views

Lightning LND Anon memory growing OOM

I'm running an Umbrel Node and seems to have a memory consumption problem which results in a weekly OOM and followed by a LND restart. To be honest I don't know what I did wrong, as my node was ...
deekee's user avatar
  • 41
1 vote
1 answer
203 views

How to setup Alby wallet for testnet bitcoins

I'm trying to test out the Alby wallet. I wanted to test it's working with fake testnet bitcoins (tBTC). I tried to follow this guide: https://github.com/getAlby/lightning-browser-extension/wiki/Test-...
Siddhesh B. Kukade's user avatar
0 votes
0 answers
99 views

stuck transaction in ride the lightning on chain transaction

This transaction was send in ride the lighting on chain transaction, it has zero confirmation, how do I send it out, or cancel the transaction?
cakephp_dev1's user avatar
2 votes
1 answer
94 views

How does Lightning multipart payments (MPP) protocol define the amounts per part?

From the source code of LND, payments are split in half and retried if no path for the full amount is found: func (p *paymentSession) RequestRoute(maxAmt, feeLimit lnwire.MilliSatoshi, ...
Gabriel Rebello's user avatar
2 votes
1 answer
131 views

Building neutrino from source for use with lnd

I am trying to build neutrino, to use with lnd. However I cannot find any installation instructions. Someone else also asked for install instructions a few months ago and got no reply. I have ...
alexg's user avatar
  • 263
1 vote
0 answers
126 views

Link fails when building gRPC client for LND in C++

I'm trying to build a gRPC client for LND in C++, starting with the WalletBalance function. I've never used gRPC before, and I use make instead of cmake, but according to the documentation this is ...
Zephyrus's user avatar
  • 658
1 vote
1 answer
37 views

Lightning: Can a channel partner betray with an arbitrary balance?

I know, that I can settle old balances in a closing transaction. But can I also settle arbitrary "fantasy" balances in a force close when my channel partner is long dead. By example by ...
Rainer Feike's user avatar
2 votes
0 answers
32 views

Balances do not add up to channel capacity

Using LND, I opened a channel with --local_amt=1100000 and --push_amt=500000. I would think that would open a channel with a capacity of 1100000, a local balance of 600000 and a remote balance of ...
Zephyrus's user avatar
  • 658
3 votes
0 answers
70 views

How to track down OOM?

Since a while LND on m Bitcoin Node is restarting weekly a I get an OOM: Feb 12 21:07:24 umbrel kernel: node invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0 Feb ...
deekee's user avatar
  • 41
1 vote
1 answer
95 views

Lightning Network Data

What data is public in Lightning Network (such as number of nodes, channel balances, etc)? What are some ways to retrieve them (API, running node), and what would be pros and cons for each option?
xor's user avatar
  • 87
0 votes
0 answers
107 views

Running Lightning Node without Bitcoin node

Is there a way to run Lightning Node without any kind of Bitcoin node on your local machine? If not, is there a way for me to run without installing a full node? If any of this approach is possible, ...
xor's user avatar
  • 87
2 votes
1 answer
66 views

LND seems to ignore CSV delay settings when opening a channel

LND v0.15.5-beta In my lnd.conf file I have the following lines: bitcoin.maxlocaldelay=144 bitcoin.defaultremotedelay=144 When I try to open a channel using lncli, I get the following error message: $...
Zephyrus's user avatar
  • 658
4 votes
1 answer
75 views

LND describegraph returns channels with null policies

The describegraph command for lncli returns several channels that have at least one policy set to null. In many cases, they are both set to null, and last_update is set to 0, as shown in the following ...
Zephyrus's user avatar
  • 658
0 votes
1 answer
171 views

Where does the max_htlc_msat field in the getchaninfo results come from?

Using an arbitrarily chosen channel, the getchaninfo command returns a json object like this: $ lncli getchaninfo 848897743567126529 { "channel_id": "848897743567126529", &...
Zephyrus's user avatar
  • 658
1 vote
1 answer
44 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
142 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
  • 121
0 votes
0 answers
30 views

Connecting to lightning node on BTCPayServer

I am trying to access my lightning node, part of a BTCPayServer instance via REST api but not getting any response from it. I am running this type of python script on the VPS https://api.lightning....
purpurato's user avatar
3 votes
0 answers
146 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
  • 658
0 votes
0 answers
45 views

lncli reports "unknown authority" when trying to connect from another machine

lnd 0.15.5 I have a local network with two machines on it. Machine A runs Bitcoin Core and LND. Machine B has LND installed but I only want to use lncli to connect to the instance of LND running on ...
Zephyrus's user avatar
  • 658
2 votes
1 answer
71 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
  • 658

1
2 3 4 5