Questions tagged [lightning-network]

Proposed payment system leveraging payment channels which allow re-negotiation of balances that finally get executed on the Bitcoin blockchain.

Filter by
Sorted by
Tagged with
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 ...
3
votes
1answer
67 views

Does LN require an on-chain “emergency lane” to mitigate systemic risks?

According to LN social slides, a fee market (in other word: "congested mempool", to my understanding) is good. But, there's systemic risks around penalty mechanism, so some sort of on-chain scaling (...
3
votes
1answer
254 views

Can someone please explain how Lightning paths are working and what effect large centralized hubs have?

Can someone please explain how Lightning paths are working and what effect large centralized hubs have? Dear community, I have read some stuff about lightning and i am really interested to ...
1
vote
1answer
55 views

How could an LN node acquire inbound liquidity? Is there any systemic risk?

I once heard that LN could support dual-funded channels. It doesn't seem so complicated, but currently, I don't know any LN wallet which supports creating dual-funded channels. By the way, I'm also ...
3
votes
1answer
50 views

Could you open a lightning channel in a confidential transaction?

On an elements sidechain (e.g. liquid) could you open a lightning channel with a confidential transaction. You could probably open a payment channel but could the channel 'speak' to other channels? Or ...
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
4answers
335 views

How to “cash out” of the Lightning Network without closing channels?

I am working on an ecommerce site that accepts lightning payments and was curious about how to "cash out" to pay vendors without closing channels to customers. I was planning to run two LN LND nodes ...
1
vote
1answer
39 views

Lightning Network: node image

When browsing explorer.acinq.co, I noticed some nodes display an icon image in front of their name. How can I configure such an icon for my own node with LND?
0
votes
1answer
93 views

Remote SSH connection to Raspibolt Lightning Network Node

I am trying to establish a remote SSH session using Putty into the Raspberry Pi running my Lightning Network node without success (connecting from the local network works fine). The related port of ...
0
votes
2answers
106 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
168 views

How to close stale lightning channels with c-lightning

I was running a lightning node using c-lightning about 9 months ago. Unfortunately the server was shutdown while a few channels were open. I have restarted the server and updated c-lightning to the ...
2
votes
3answers
200 views

What is a good hardware for a lightning network node?

What is the hardware setup you use for your LN node? Is a Raspberry Pi 3 enough for testing and playing with small amount of funds?
0
votes
1answer
117 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
59 views

Are Tor .onion-addresses IP address independent?

Is it possible to move the node to a different IP address and keep the existing (=preciously open and funded) channels functional?
2
votes
3answers
64 views

Lightning: Why would Bitcoin Network Accept a Breach Remedy?

The Lightning Network Whitepaper discusses a situation in which one party of a payment channel broadcasts an outdated commitment transaction. The other party through a breach remedy transaction will ...
0
votes
1answer
45 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 ...
2
votes
1answer
158 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
210 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?
0
votes
2answers
67 views

How could LN mitigate NAT transversal problem?

As we all know, IPv4 address space is already exhausted, many ISPs have deployed carrier grade NAT (CGN). So how could an LN node living behind NAT deal with NAT transversal problem? How could two ...
1
vote
1answer
43 views

Lightning Network: Isn't there a risk in spending more BTC than needed?

Say, I want to establish a payment channel with an individual, Jim. I want to make 10 monthly payments of 0.01BTC to him for a total of 0.1BTC. I don't want to spend 0.1BTC at once, but in order to ...
3
votes
3answers
117 views

Does a LN route with N channels at most require N-2 fee payments?

Assume we have a route n1 -> n2 -> n3 -> n4. My intuition here is that n2 charges n1 a fee and that n3 charges n2 a fee for routing payments. However, there's no fee for the last hop where n3 ...
1
vote
1answer
163 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 ...
1
vote
1answer
116 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 ...
4
votes
1answer
112 views

What languages can I write plugins for c-lightning in?

I know that there's a Python library available for writing plugins for c-lightning. What would I need to do to for example use a JVM language like Scala?
3
votes
1answer
161 views

Lightning, multiple channels to the same node

With LND, you can open multiple channels to the same node. Is there any advantages to having multiple channels (to the same node) versus having one channel? Eg. one channel with a capacity of 1 000 ...
3
votes
1answer
158 views

Checking whether lightning node is online/visible

I just created my first lightning node and already have one active connection. My problem is however, that I do not see my node in any lightning network explorer. Is it possible to somehow check ...
0
votes
2answers
58 views

where can i do a testnet Lightning Network Reverse Submarine Swap?

i have Testnet LN Node, i have created a wallet, i have send on-chain funds to that wallet i have connected to several peers i have created several channels, all of these are outgoing one side funded ...
2
votes
1answer
47 views

C-lightning Implementation password protect hsm while maintaing node access

I was wondering if there was a way to encrypt the folder that contains the hsm_secret (and a lot of other operational files necessary for constant operation of a C-lightning node) without cutting it ...
2
votes
1answer
53 views

Why is the obscured commitment number necessary in lightning commitment TX's?

The obscured commitment number for each commitment transaction is the lower 48 bits of: SHA256(payment_basepoint from open_channel || payment_basepoint from accept_channel) It is encoded in the lock ...
0
votes
1answer
87 views

Do extra hop channels in a BOLT#11 invoice need to exist on chain?

According to the BOLT#11 specification, a node may add extra routing information for private channels to an invoice, where they specify the public key of the penultimate hop, along with the ...
0
votes
0answers
37 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 ...
2
votes
2answers
105 views

Are channel ids inherently linked to node ids in the Lightning protocol?

I'm wondering if it is possible to shut down my node, change my node id, but persist my channels in the Lightning protocol. Is there an inherent limitation to the protocol that prevents this from ...
0
votes
0answers
71 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
65 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 ...
1
vote
1answer
31 views

Lightning?full node question

I'm running a full node as well as a Lightning Node with 4 channels open. I also have incoming ports enabled. I've noticed that my balance varies daily by a few thousand Sats. I'm new to running a ...
0
votes
1answer
109 views

How to fund a bidirectional channel in Lightning Network by two participants? (Edited)

I brought up a similar question here: (Link to question) for a payment channel (in general case and without specifying which payment channel implementation.) Since this funding channels depends on the ...
0
votes
1answer
44 views

meaning of “full node” in Lightning Network?

According to this answer: (Link to answer), "A 'full node' refers to a fully validating node on the Bitcoin network, meaning the node validates each block and transaction that happens on the ...
0
votes
1answer
34 views

Lightning Network wallet applications for different operating systems?

What are the best / most secure wallet applications of Lightning Network for each of following operating systems/platforms ? Windows Mac OS android iOS web browser extensions
1
vote
1answer
199 views

Is it possible to run two Lightning Network nodes on top of single Bitcoin Core node?

I would like to simultaneously run LND and Eclair nodes on top of single Bitcoin Core bitcoind node. Is it possible? I wasn't been able to pull it off so far. If possible, how to set up ZMQ and ...
3
votes
1answer
38 views

High level description of modern Lightning network (as per BOLT)

The Lightning network specification (BOLT) differs substantially from the original Lightning network paper (some of the differences outlined in this SE answer). Is there a document with a high-level ...
1
vote
2answers
235 views

Connecting to a node and opening a channel

What is the difference between connecting to a node and opening a channel with a node in the lightning network? What are the events happen when I just connect to a node?
2
votes
3answers
95 views

Number of nodes and channels in Lightning Network?

(1) Is there any tool by which we can know the current number of nodes (participants as payer/payee) and number of channels in Lightning Network with an accurate estimation? (2) As a more advanced ...
0
votes
2answers
153 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 ...
2
votes
1answer
49 views

Could LN wallets be seamless?

Currently, the funds deposited in a payment channel cannot be sent on-chain without closing the channel. Similarly, the user must open a brand new channel in order to deposit some on-chain funds into ...
2
votes
1answer
97 views

Do I have to pay Fees on the Lightning Network if there is a Payment Failure?

Lightning nodes are talking fees for routing a payment. Will fees be charged anyway if a payment fails?
-1
votes
1answer
41 views

Limitation for minimum output size? AND a fixed per-transaction fee for payments in Bitcoin?

In the following article by http://lightning.network/ entitled: "The Bitcoin Lightning Network Summary", (Link to the article) is mentioned: "Lightning enables one to send funds down to 0.00000001 ...
-1
votes
1answer
254 views

Removing “hub-and-spoke” property of Lightning Network?

Lightning Network is based on this idea: "Near-zero fee transactions with hub-and-spoke micropayments" (Link to the article) proposed by Peter Todd. An article entitled: "Mathematical Proof That the ...
1
vote
2answers
229 views

How to fund a bidirectional payment channel?

Assuming two users want to create a bidirectional channel between themselves such that user_1 wants to pay 2 BTC to user_2 at the end and he divides this amount into 10 micro-payment (each micro-...
6
votes
2answers
617 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 ...