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
1 answer
2k views

Why is my lighting node not routing any transaction?

I have set up a lighting node months ago using LND under the tor network. My node (Caffeine) looks correctly configured and connected to several channels but it is not routing any transaction. In the ...
alec_djinn's user avatar
1 vote
1 answer
609 views

lightning daemon rejects bitcoind RPC variables in lnd.conf

I run lnd and bitcoind under their own users, but on the same physical machine. This means lnd has trouble accessing the bitcoind .cookie, so I'm trying to configure lnd to use RPC. When I use the ...
Mike's user avatar
  • 499
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 ...
Dmitry Laptev's user avatar
1 vote
1 answer
421 views

Lnd - how to open a double-funded channel

I know about lncli openchannel, however this means I will open a (bidirectional) channel with my peer, but initially just my side will have some balance. Let's say I agree with a collegue running ...
fiction's user avatar
  • 518
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 > ...
Dalit Sairio's user avatar
1 vote
2 answers
822 views

A couple questions on lightning network

I want to develop Exchange where people would use my service to make payments using lightning network I configured the LND node and created a wallet. To implement this I would like to allow users to ...
newbie's user avatar
  • 85
1 vote
2 answers
2k views

How can I get my LND node to make connections over Tor, IPv4, and IPv6?

I followed this guide (https://github.com/lightningnetwork/lnd/blob/master/docs/configuring_tor.md) to setup Tor on my LND node, but this forced all my traffic through Tor, and I was no longer ...
TorGuy's user avatar
  • 13
1 vote
1 answer
377 views

Why is my LND node closing channels?

I have noticed when running lncli closedchannels, that I have some channels that are closed by my node (close_type: local_force_close). I am quite sure I have not initiated this manually myself. Is ...
Dmitry Laptev's user avatar
1 vote
1 answer
1k views

How to create bidirectional channels using LND?

I created a channel with following command. But its not bidirectional by default. lncli openchannel --node_key=02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469 --local_amt=390000 ...
Vishal Gandhi's user avatar
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 ...
user99201's user avatar
  • 129
1 vote
1 answer
225 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
1 vote
1 answer
72 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
1 vote
1 answer
285 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
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 ...
Rainer Feike's user avatar
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 ...
kschieck's user avatar
  • 113
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 ...
Zighy Blue's user avatar
1 vote
1 answer
1k views

lnd SendPayment "unable to find a path to destination"

I got an error "unable to find a path to destination" when I call SendPayment to an invoice, created at starblocks.acinq.co, from my local private LND node on mac (docker). It seems getinfo and ...
zono's user avatar
  • 1,945
1 vote
1 answer
245 views

Which daemon is a lightning node running?

To run a lightning node we can use 3 different daemons : - c-lightning - eclair - LND Is there a way to understand which daemon is a specific peer running?
Stefano Angieri's user avatar
1 vote
1 answer
143 views

What if all nodes on the lightning network were watchtowers by default?

What would be the costs for forcing every node on the lightning network to provide watchtower services by default so that the burden is shared by other users maintaining the default and with ...
Auriol's user avatar
  • 13
1 vote
1 answer
341 views

Lightning node on a Bitcoin SPV

is there a way to run a Lightning node on a Bitcoin SPV node at the moment? I've read that both lnd and c-lightning need a Bitcoin Fullnode at this time. This might seem ignorant but i don't want to ...
xDreamCoding's user avatar
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":...
Rog's user avatar
  • 13
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?
arshbot's user avatar
  • 1,788
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...) ...
big_fish_small_pond's user avatar
1 vote
2 answers
1k views

Do I need to be already running a full node to run LND Lightning?

I want to start learning about lightning network and try setting up a channel. However I don't know if I need to already be running a full node. I stopped my core client from syncing a while back.
Mateo M.'s user avatar
1 vote
1 answer
37 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
1 vote
1 answer
140 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
336 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
1 vote
1 answer
63 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
130 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
1 vote
1 answer
58 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
188 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
1 vote
1 answer
284 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
1 vote
1 answer
140 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
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 ...
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
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
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: ...
scott.carter.2020's user avatar
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 ...
M.K. Safi's user avatar
  • 143
1 vote
1 answer
358 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 ...
Subhra Mazumdar's user avatar
1 vote
1 answer
142 views

What are the consequences if I spoof an IP address in the node_announcment message?

According to BOLT 07 the node accountment message looks like this: type: 257 (node_announcement) data: [64:signature] [2:flen] [flen:features] [4:timestamp] [33:node_id] [3:...
Rene Pickhardt's user avatar
1 vote
1 answer
489 views

What are the issues of running lightning daemon with pruning node?

Most lightning implementations I came across don't officially support pruned full node. Why is pruned mode implementation a challenge? What risk am I taking when I run lnd with pruned bitcoind?
sanket1729's user avatar
  • 1,402
1 vote
1 answer
567 views

Minimum funds required in a channel in Lightning?

I have noticed that, I cannot exhaust the funds in my channel to one side in lnd. I understand this makes sense so as to have some punishment in case of fraud, but I cannot find the reason for the ...
ranchalp's user avatar
  • 567
1 vote
1 answer
802 views

rpc error: code = Unknown desc = dial tcp 103.102.44.207:9735: connect: connection refused

I'm getting connection refused when I try to connect to a public testnet node. lncli --network=testnet connect 022ff54505fe9b50ce6c3c99c645c9aab67fe91abb01504c5211045b82a09aa757@103.102.44.207:9735 ...
arshbot's user avatar
  • 1,788
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....
Curtis Chong's user avatar
1 vote
1 answer
1k views

Failed to start lnd.service: Unit bitcoind.service not found. (lnd installation)

I installed my bitcoind and lnd correctly. I put my datadir=/mnt/vdb to bitcoind.conf file and it allows me to start bitcoind with this command: bitcoind -daemon. As a final step, I want to learn lnd ...
merry-go-round-one's user avatar
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 ...
emko's user avatar
  • 11
1 vote
0 answers
21 views

How to ignore LND on-chain reserve balance?

I have around 120.000 sat remaining on-chain balance in LND and want to sweep the wallet completely, as the node is about to be permanently shut down. The reserved_balance_anchor_chan amount was ...
sutterseba's user avatar
1 vote
0 answers
21 views

I'm unable to be fully synced with the lightning network

I currently have a pruned Bitcoin Core node running on my Mac, and I have lnd running too. Everytime I run lnd, I get flooded with these error messages in terminal: Query from peer ...:8333 failed, ...
Hurage's user avatar
  • 11
1 vote
0 answers
14 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
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