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
0
votes
2answers
51 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 ...
2
votes
0answers
19 views

How can I send a payment to myself with lightening to rebalance 2 channels?

I have an active channel with bitstamp with a balance on my side. Bitstamp has an active channel with lightening power users (lpu) with balance on their side (I checked this with lncli queryroutes ...
1
vote
0answers
14 views

lnd fails to find UPnP device

I'm following the RaspiBolt guide to setup a lighting node. But when I start lnd and unlock the wallet, the applications fails: 2019-08-03 11:28:08.659 [INF] LNWL: Opened wallet 2019-08-03 11:28:08....
2
votes
2answers
325 views

Can I send/receive payments but prevent forwarding payments in Lightning Network?

Say I am using a very computationally constrained device (eg. a sensor) and it uses Lightning Network to send/receive payments. However, being computationally constrained it doesn't want to forward ...
3
votes
1answer
76 views

What are the potential security issues when running a Lightning Node on my home network?

If I was to run a lightning node on my home network (and for example, not running the node through TOR), what should I worry about? Furthermore, what OS, settings and software should I use to ...
-1
votes
0answers
41 views

Trouble connecting to my lightning network node at port 9735

I'm on Windows 10. I'm already successfully running a full Litecoin node. Disabling Windows firewall has no effect on this issue. I am using litecoind-0.17.1 and lnd-0.7.0-beta. There's 2 things I ...
0
votes
1answer
67 views

How to find out if LND opening pending channels has a confirmation onchain?

After typing lncli pendingchannels I get a channel_point number, and when I put channel_point txid to check if it was confirmed onchain by typing: bitcoin-cli gettransaction "txid insert" I get an ...
3
votes
1answer
34 views

How do I find the nodeid of the node issuing a lightning network invoice?

I recently got an BOLT11 invoice from a store. For example this one: ...
0
votes
1answer
16 views

Can't receive payments from htlc.me

Am testing LN with lnd 0.7 and autopilot on my testnet node I can pay successfully invoices created by htlc.me But when trying to receive payments, example : ...
1
vote
1answer
20 views

How to get the wallet address of my own LND node?

I have set up a lighting node using LND time ago, now I would like to send more BTC to it. How can I get the wallet address of my LND node?
1
vote
0answers
34 views

Bitcoin LND Lightning Network Daemon, pending open channel, opening transaction never confirmed

I'm running LND 0.7.0-beta on top of Bitcoind 0.18.0 and have a channel that has been pending on opening for more than a month now. It tried to open when I was still running LND 0.6.1-beta. The txid ...
2
votes
1answer
38 views

How to get the outbound and inbound capacity of a node using LND?

I expected to find an option on lncli to get the exact inbound and outbound capacity of my node, but this is not the case. What is the best way to have this information?
0
votes
1answer
65 views

Creating multiple clients inside a single lnd node

I am trying to create hot wallets using the lightning network but I don't want to create a new node for each user. Is there a way to have multiple users be able to use a single lnd node?
2
votes
1answer
65 views

Lightning Network : Pay a Bolt11 Invoice in multiple Payments

Is there a way to pay one Bolt 11 Invoice in multiple payments with Lightning Network? For instance this invoice total amount to pay is 5000 satoshi: ...
1
vote
1answer
53 views

invoice amount is 1200000 but I paid 1201035. What is 1035?

I paid the invoice and then I noticed I paid more than the amount of the invoice. 1201035 (I actually paid) - 1200000 (the amount of the invoice) = 1035 (?) My questions are.. What is 1035 satoshi? ...
0
votes
1answer
40 views

LND How to reset pending_open_channels?

I am using LND (most recent version 0.6.1-beta) and I have a lot of pending channels in state pending_open_channels which are stuck for many days (perhaps because of low fee and full mempool) so I ...
0
votes
1answer
30 views

RPC for LND: rpc_pb2_grpc vs lnd_grpc

I'm trying to automate launching multiple LND instances with a Python script. I've been trying to use lnd_grpc but can't get it to work. I created an issue in the LND repository and was pointed ...
0
votes
1answer
31 views

Running LND on testnet and mainnet at the same time on the same pc

I have two instances of bitcoind running, one on mainnet, one on testnet, without any problems. I can't seem to find any decent documentation on running two instances of LND at the same time on the ...
1
vote
1answer
83 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 ...
2
votes
1answer
65 views

LND can't connect to ZMQ

I want to run my LND instance (again) and have some trouble with connecting to bitcoin's ZMQ. Here is what I do: $ bitcoin-cli getblockcount 575704 $ lnd --bitcoin.mainnet --bitcoin.active --...
1
vote
1answer
184 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?
1
vote
1answer
139 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 ...
1
vote
2answers
120 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 ...
2
votes
2answers
47 views

Lightning LND - Send Payment Both Ways Within Same Channel

Me and my friend are testing Raspibolt running LND 0.6 Beta. We noticed the following problem/limitation: When I opened a channel with him, I could send him payments (via invoice) without any ...
1
vote
1answer
41 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 ...
0
votes
1answer
27 views

Are there public LN nodes that have some gRPC LND API endpoints accessible for 3rd parties?

My lnd node died but I'm doing some research on lightning channels. So I'm rebuilding a new btc/lnd node, but in the meantime: are there open nodes that I can access, especially for ...
0
votes
1answer
28 views

Why are Sphinx forward messages not used in Lightning's onion packets?

It is useful to send some additional information with a payment in LN. For example, spontaneous payments in LND send a payment_preimage to the destination of a payment. LND uses a non-trivial EOB ...
3
votes
0answers
59 views

How can you construct a cycle with LND to rebalance one of your channels with another?

I have at least two open channels, one of which has inbound capacity and the other has outbound capacity. How can I find a route and construct a payment to rebalance my channels against each other ...
3
votes
2answers
123 views

What is the unit of time_lock_delta in LND?

LND has a configuration setting called time_lock_delta with the description "The required timelock delta for HTLCs forwarded over the channel.". I assume this to refer to some measure of time, but ...
1
vote
3answers
51 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 ...
0
votes
1answer
35 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 ...
1
vote
1answer
129 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
32 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 ...
1
vote
1answer
72 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 ...
1
vote
1answer
40 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
1answer
26 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 ...
5
votes
1answer
67 views

Betweeness Centrality LND node

How can one calculate betweeness centrality of your node as mentioned in this 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
1answer
13 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
0answers
46 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 ...
0
votes
1answer
16 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, ...
2
votes
1answer
95 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 ...
0
votes
1answer
43 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 ...
1
vote
1answer
123 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: ...
3
votes
1answer
53 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
42 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 ...
2
votes
1answer
78 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 ...
0
votes
2answers
105 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
115 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 ...
1
vote
1answer
66 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 ...
0
votes
1answer
44 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 ...