Stack Exchange Network

Stack Exchange network consists of 175 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.

1
vote
3answers
38 views

What does channel num_updates mean?

Some LND wallets provide a channel's "Number of Updates". Here's an example from Zap Desktop: The LND gRPC API Channel Reference cites a property called num_updates. The description of this field is ...
5
votes
1answer
52 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 ...
1
vote
1answer
33 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:...
0
votes
0answers
12 views

LND application for InitWallet [on hold]

who can help me fix below issue on LND function(based on PyCharm)? the problems on the InitWallet from LND Application. GenSeed that can run pass and get the response from below resource code. but ...
0
votes
1answer
9 views

Where is the default lnddir?

Looking for my macaroon files which should be at this location: lnddir/data/chain/bitcoin/mainnet However, I can't figure out where my default lnddir location is. I don't want to set a new lnddir. I'...
0
votes
1answer
16 views

Does the `HTLC fail` routed back to sender using same path if intermediate node does not have enough capacity?

In the Lightning Network, the intermediate hop between the sender and receiver checks for possible errors(like if it has enough balance). And if there is, it sends an HTLCFail message back to the ...
0
votes
1answer
13 views

What is a stub from the lightning grpc documentation?

For example, very often in the lightning documentation for their grpc api, you will see the following boilerplate python code: >>> import codecs, grpc, os >>> import rpc_pb2 as ln, ...
1
vote
1answer
30 views

How do hodl invoices work?

On March 15th, 2019 hodl invoices where added to lnd via this pull request. Hodl invoices allow a recipient to accept or deny a transaction at their discretion, a very useful feature. However, how ...
0
votes
0answers
21 views

Cannot get feereport due to error “[lncli] rpc error: code = Unknown desc = no policy for outgoing channel”

Lots of my lnd command got stucked with error message like: [lncli] rpc error: code = Unknown desc = no policy for outgoing channel 591836322924134401 I have checked the channel id appeared in 1ml ...
0
votes
1answer
34 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 ...
3
votes
2answers
170 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 ...
2
votes
1answer
43 views

LND errors after upgraded to v0.5.2

Recently upgraded to the latest lnd version (following the stadicus guide) but once i restarted the client i keep getting this error when i check the logs: [ERR] LNWL: Failed to process consensus ...
1
vote
1answer
50 views

I can pay invoices on my mainnet LND node, but others cannot pay my invoices

I have an LND node running the 0.5.2-beta release on a 2 core, 8GB ram Ubuntu 16.04 VM. This is my node: https://1ml.com/node/02d5efae50c1cdc6011e40b74f061ea4f444088865ec14a59e4ee6cf0d71c842fc I used ...
1
vote
2answers
545 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, ...
0
votes
1answer
13 views

Lightning payments: peer versus channel (LND)

I understand that in order to be able to send a LN invoice my node should be connect to at least 1 channel. Should both nodes have an equal "stake" in the channel? Is it correct that it isn't ...
0
votes
1answer
144 views

How to set up LndHub on top of RaspiBolt ir RaspiBlitz?

My goal is to support multiple LN clients without having to run a full node for each client. How to set up LndHub on top of RaspiBolt or RaspiBlitz?
3
votes
1answer
37 views

Betweeness Centrality LND node

How can one calculate betweeness centrality of your node as mentioned in that video. I would like to take into consideration base_fee_msat fee_rate Is there a smart way to figure out what suites ...
0
votes
0answers
23 views

lnd - “unable to create server: no active channels exist” after successful lncli unlock

I'm setting up a Lightning node using bitcoind and lnd and this guide: How to Install and Use the Lightning Network with bitcoind on the Bitcoin Mainnet It's been an interesting couple of days, but ...
2
votes
1answer
54 views

Unable to find Lightning Node

I have successfully installed and synced my lightning node (Raspiblitz). I see my public ip on port 8333 has 8 conns. However, when I check my node on 1ml.com my node is not found. I did forward port ...
1
vote
0answers
82 views

how can i get rid of a zombie channel in LND?

My LN-Node: 023bf99414b3e93ab7463ce60f44cd691f8be3c1ae33a2015fe784c85c36e770cf bitcoind 0.17.1 // LND 0.5.2-beta commit=v0.5.2-beta-rc7 Channel: 598078250466476032 Problem: lncli feereport returns: ...
2
votes
0answers
88 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 ...
0
votes
1answer
31 views

.indexes & .tesnet3 not located on my Bitcoin dir

started fresh a new lightning node using the raspiblitz guide but while synching the client from my desktop pc (MAC) i wasnt able to locate these files ( “.indexes .testnet3” ) required by the guide ...
2
votes
1answer
27 views

How to obtain the Channel_ID from the Short_Channel_ID?

Is there a way to retrieve the Channel_ID knowing the Short_Channel_ID without using any lightning network explorer? How is the Short_Channel_ID calculated? Is this operation reversible?
1
vote
1answer
29 views

How can channel policy be missing?

I randomly stumbled upon an example of a channel for which one of the two sides does not have a channel policy. What could be the reason for that? For example, lncli getchaninfo 620048691895336960 ...
0
votes
2answers
49 views

Is there anything preventing Lightning Network from passing embedded data in OP_RETURN?

As long as you pay a BTC fee for all the routing node incentives and the last layer in the onion routing includes a transaction with OP_RETURN, wouldn't that allow using OP_RETURN for various ...
0
votes
1answer
66 views

How to send a payment through a route saved in a json?

From lncli network=testnet sendtoroute -h: NAME: lncli sendtoroute - send a payment over a predefined route USAGE: lncli sendtoroute [command options] [arguments...] DESCRIPTION: Send a payment over ...
2
votes
1answer
116 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
69 views

How to send payment through a predefined route?

Attempting a payment through a predefined route using: lncli -network=testnet queryroutes 02e34c1b4c5f8e7419cf4d10e3bc9651d46dc1af68df6a7b81a24951a9192aa9c4 25000 | lncli -network=testnet sendtoroute ...
0
votes
1answer
36 views

`lnd` on Raspberry pi zeros?

Did somebody try to run the bitcoind full node on the Raspberry pi 3 and one or more lnd nodes on one or more Raspberry pi zeros? My goal is to support multiple LN clients without having to run a ...
1
vote
1answer
78 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 ...
0
votes
1answer
62 views

How to tell if Lightning nodes are lnd, c-lightning, eclair

I am performing some experiments on the Lightning Testnet Network. I would like to perform the experiment on the 3 main lightning implementations, for which I would like to be able to connect and open ...
0
votes
1answer
52 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":...
0
votes
0answers
26 views

LND not showing URI

LND seems to be running ok, i opened several channels and paid for a couple of things already, first couple of days i could see all the info regarding my node but since yesterday my uri just ...
3
votes
2answers
276 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 ...
0
votes
0answers
48 views

how connecting lnd to btcpayserver

status: lnd on raspberry pi / daily changing ip-address / btcpayserver on vps problem: i want to connect my lnd-node to my btcpayserver. i have to put my url with https in the required field, so i ...
0
votes
1answer
55 views

How to completely remove Bitcoin Lightning from Raspberry Pi

I finished the installation of Bitcoin Core and Lightning but somehow i messed up with the certificates and the creation of the wallet and now im struggling to run lightning with the right users and ...
0
votes
1answer
79 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
160 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
80 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=...
0
votes
2answers
58 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?
0
votes
1answer
275 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'] ...
0
votes
1answer
194 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 ...
1
vote
1answer
198 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 ...
0
votes
1answer
83 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....
1
vote
1answer
65 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 ...
1
vote
1answer
165 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?
1
vote
1answer
93 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
81 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
0answers
21 views

How to install neutrino on mac?

Can't find any information in the neutrino github about installing on mac?
0
votes
0answers
65 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?