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

Calculate total assets in a lnd

How can I calculate my total assets in a lnd? Something like the sum of "wallet confirmed", "wallet pending", "channels local balance", "channels pending local ...
Rainer Feike's user avatar
0 votes
1 answer
50 views

Lightning Network channel reserve

How is the calculation of the amount of sats reserved to pay fees in L1 in case of having to launch a penalty transaction or make a forced closure of a channel? In bolt2 I have read that 1% of the ...
polespinasa's user avatar
3 votes
1 answer
30 views

What are the maximum amounts one can fund an unnegotiated channel across various lightning implementations?

It is 0.16777215 BTC for Core Lightning. How much is it for LDK, LND and Eclair? P.S. If there exist any other implementations that I've left out in this question, the mention of them is most welcome ...
John Smith's user avatar
1 vote
0 answers
9 views

Node accounting - open source or bitcoin software

I am running a LND node. experimenting for other almost 2 years with it. i then started a small (2 persons) consulting company. this node is now used to go on building expertise and trying stuff. it ...
tepeji's user avatar
  • 11
3 votes
0 answers
518 views

Lightning Network Nodes do not report Bolt9 Features

Looking at the output of the describeGraph command of my node (LND), I have seen that my node detects approximately 19,000 nodes. Of those 19 thousand, 6 thousand do not report any bolt9 feature. lnd@...
polespinasa's user avatar
0 votes
0 answers
30 views

After re-install my fullnode (kept the btc and lnc data directories), previously ACTIVE ln channel stays Inactive

Reset my Node and reinstalled ALL softwares including lnd and Thunderhub. Now my bitcoin is running well, LND is running well. Thunderhub is also OK. but my previous opened channel is not Active. from ...
Nick's user avatar
  • 1
0 votes
0 answers
21 views

Having issues when starting Lnd. Lncli create command provides no output

I have lnd running on MacOs (m2 machine) with Bitcoind as a back end. Bitcoin is in my external SSD drive. When I start Lnd, I am able to get to the lncli create option, but the lmcli create command ...
Anasosadances's user avatar
1 vote
1 answer
176 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
19 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
65 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
24 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
  • 91
1 vote
0 answers
40 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
  • 91
0 votes
0 answers
65 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
31 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
33 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
  • 187
1 vote
1 answer
33 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
178 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
227 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
  • 782
2 votes
0 answers
61 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
67 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
59 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
47 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
87 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
82 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
29 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,778
1 vote
0 answers
127 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
48 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
  • 233
0 votes
0 answers
96 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
158 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
138 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
297 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
126 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
  • 782
1 vote
2 answers
310 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
441 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
90 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
136 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
59 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
1 vote
1 answer
270 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
131 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
112 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
217 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
176 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
  • 782
1 vote
1 answer
38 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
37 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
  • 782
3 votes
0 answers
76 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
  • 51
1 vote
1 answer
122 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
  • 97
0 votes
0 answers
142 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
  • 97
2 votes
1 answer
86 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
  • 782
4 votes
3 answers
108 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
  • 782
0 votes
1 answer
212 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
  • 782

1
2 3 4 5