Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
25 views

LND Security best practices? Disaster recovery?

Can anyone share a knowledge how to _ secure LND node _ backup node with all Channels I think only a seed will not be sufficient. What is your plan B in case of disaster? How to do an Emergency ...
1
vote
1answer
28 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 ...
1
vote
1answer
42 views

How do 'Sphinx' invoice-less payments on the Lightning Network work?

There was recently a WIP draft published to the lnd Github, for a 'Sphinx payment mode' for Lightning Network nodes. To quote Roasbeef from the Github PR: [this allows] the ability to send a ...
3
votes
1answer
61 views

Lightning Network `channel_update` message Flag clarification

This is a lnd.log line: 2019-01-11 12:20:13.904 [DBG] PEER: Sending ChannelUpdate(chain_hash=000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f, short_chan_id=601495532567724033, flag=...
2
votes
1answer
45 views

How is node capacity determined on 1ML.com?

I have set up a Casa node, using lnd, and opened 15 payment channels. The capacity of my channels, after almost 3 weeks, is exactly what it was when I opened the channels, leading me to believe that I ...
1
vote
1answer
80 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?
0
votes
0answers
10 views

How to install neutrino on mac?

Can't find any information in the neutrino github about installing on mac?
0
votes
0answers
20 views

How to uninstall lnd on ubuntu?

lnd has been installed on my digital ocean droplet, but now I need to uninstall it as attempting to update it has corrupted the exec. How can I uninstall lnd on ubuntu?
0
votes
2answers
22 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
0answers
16 views

Lightning network (lnd): What's the best way to report lnd server issues/ask for help with channels that won't close?

I've been running a lnd/bitcoind node (mainnet) for a few months now. I had a couple open channels, made a couple purchases, things seemed pretty stable. But then I moved cross country, and in the ...
1
vote
1answer
39 views

lncli pendingchannels output: difference between `pending_closing_channels` and `waiting_close_channels`

When plotting lncli pendingchannels, two of the outputs are oddly similar: pending_closing_channels and waiting_close_channels. I have only seen my closed channels either as the output closedchannels ...
4
votes
1answer
45 views

Why is last channel's expiry different in Lightning Network Routes?

Both in the Basic of Lightning Technology (BOLT) documents, and in the specification of lnd, there is a different treatment for the last channel in a route. In BOLT#2 it refers to a variable ...
0
votes
1answer
110 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 ...
1
vote
1answer
57 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 ...
0
votes
1answer
68 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 ...
3
votes
1answer
41 views

Can the lightning network be subject to DoS attacks due to message flooding?

In the current implementations of the Lightning network protocol (c-lightning, eclair and lnd), is there any check that stops spamming/flooding of channel_announcement, mode_announcement or ...
2
votes
1answer
59 views

Make payments Lightning without Invoice?

The Lightning-RFC defines, in BOLT #11, an invoice protocol for proof-of-payment. While this is a pretty cool feature, I was wondering if it would be possible to make a payment without such invoice. ...
1
vote
1answer
148 views

LN channel lnd + android wallet problem

I am running LN node powered by lnd. Also I have installed on my phone a LN app - Bitcoin Lightning Wallet. I opened a channel from mobile app to lnd node sucessfully (many confirmations), but I ...
0
votes
1answer
69 views

unable to route payment to destination: TemporaryChannelFailure

Keep getting this error following attempting to pay an invoice. root@ubuntu-s-1vcpu-2gb-nyc3-01:~# lncli --network=testnet payinvoice ...
2
votes
0answers
64 views

libwallycore error installing LND on Ubuntu 18.04

I'm setting up an LND node on Ubuntu 18.04. I've installed python3, and cloned the repo. I ran configure, and get this error on the make command: checking byteswap.h, usability... no checking ...
1
vote
1answer
66 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 ...
1
vote
1answer
215 views

unable to read macaroon path (check the network setting!): admin.macaroon: no such file or directory on lncli getinfo

Just started lnd for the first time connected to a bitcoind node. Do lncli getinfo and this is the error message. How can I get past this? EDIT: Would like to add that I'm using lnd on testnet, ...
1
vote
2answers
256 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...) ...
0
votes
0answers
216 views

Error code -28: loading block index (Raspberry pi)

I'm new here and searched everywhere but couldn't find an answer on my question. I want to set up my Raspberry PI fullnode for LND lightning. But it keeps giving me this error: admin@P2P:~ $ ...
2
votes
1answer
460 views

Can you run a bitcoin lightning node on a raspberry pi zero?

Will a bitcoin lightning node run on a raspberry pi zero? Does it have to have the full Bitcoin blockchain synced or can it connect to a remote node? Also what are the minimum requirements to get a ...
1
vote
1answer
36 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 ...
0
votes
1answer
57 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....
2
votes
2answers
82 views

How to convert channel id from c-lightning to lnd?

Sorry for the dumb question, but I'm not very good in lightning network... So I have two daemons: c-lightning and LND. Channels from the c-lightning comes like this 505580:1917:1; Channels from the ...
1
vote
1answer
91 views

Share balance between lnd and bitcoind

I have a bitcoind instance with some balance. When I run lnd (which is connected to this bitcoind instance) it seems to use its own wallet. Is there any way I can use lnd with the bitcoind balance ...
1
vote
1answer
125 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 ...
1
vote
1answer
37 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 ...
2
votes
1answer
550 views

When opening a LN channel using LND, what does 'push-amt' do?

I set up Lightning node (LND) and wanted to receive a payment. Autopilot for managing the channels always creates channels w/ zero remote balance, thus nobody can route a payment to/through my node. ...
4
votes
1answer
166 views

How long can my lightning node be safely offline?

I am interested in setting up a full bitcoin and lightning node on my pi. I want to open a few channels and be well connected in the network. I intend to keep this machine on permanently, but may ...
0
votes
0answers
26 views

What is the impact of increasing maxpendingchannels?

How will increasing the value of maxpendingchannels impact my experience both as an end-user sending/receiving payments, and as a node operator? I currently have it set at 5, which I believe is the ...
3
votes
1answer
111 views

Obtaining Lightning network graph data

I was wondering if it is possible for me to obtain data about the Lightning network mainnet, particularly the nodes and the edges (channels) in the network. I know that the graph is visualized in ...
0
votes
0answers
41 views

Can anyone help me broadcast my IP ln the lightning explorer testnet

I have my lightning node set up but I my IP isn't broadcasting
0
votes
0answers
73 views

My IP address is showing 0.0.0.0 on Lightning Network Explorer Testnet, can someone assist me with this issue?

I set up my lightning node on a raspberry pi using the raspibolt instructions on medium, after buy from starblocks and waiting a few weeks I see this on Lighting Explorer can anyone point me in the ...
5
votes
1answer
776 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.
0
votes
0answers
285 views

lnd service fails frequently

I have bitcoind and lnd set up on my Raspberry Pi according to the guide here. Everything works great for the most part, and my node is up and running. I've been able to open a channel with another ...
2
votes
1answer
290 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
1answer
201 views

ZeroMQ support in Bitcoin Core 0.16.0 out-of-the-box?

In my previous question, I'm wondering why Lightning Networks lnd cannot talk to my Bitcoin Core bitcoind backend. The docs for lnd says it requires ZeroMQ compiled into bitcoind. Does the binary ...
0
votes
1answer
337 views

lightning node daemon hangs at “waiting for chain backend to finish sync, start_height=521042”

I'm using Lightning Networks' lnd 0.4.1-beta node in Windows, with a Bitcoin Core bitcoind full node backend. The bitcoind full node has the --txindex option, and is fully synced according to ...
0
votes
1answer
439 views

RPC call to lnd

I wanto to send a simple "getinfo" request to lnd using golang. I currently have package main import ( "fmt" "log" "net/rpc" ) func main() { client, err := rpc.Dial("tcp", "...
0
votes
1answer
230 views

Updating a lightning node to latest version

I'm running a lightning node on a Raspberry Pi. I'm still learning about the technology and linux as well. But I'm not sure how to securely update my node to the new LND version 0.4.1 and I'd like ...
0
votes
2answers
304 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.
0
votes
1answer
195 views

LND describegraph and getnetworkinfo RPC response

The LND API documentation is here, but doesn't contain much information about what the responses to various calls mean. Can anyone explain what these responses are describing? describegraph['edges'] ...