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]

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

0
votes
2answers
58 views

How secure is using TOR in Lightning Network?

In following paper (Link to the paper) we read: "combining Tor and Bitcoin creates an attack vector for the deterministic and stealthy man-in-the-middle attacks. A low-resource attacker can ...
1
vote
1answer
31 views

Why does my c-lightning node pay more than the invoice plus routing fees?

A friend sent me an invoice for 500,000 Satoshis. To my surprise, I sent 502294 Satoshis. Here's what I see from my c-lightning console: "msatoshi": 500,000,000 "msatoshi_sent": 502,294,595 My ...
0
votes
1answer
28 views

how do i get my @host for LN

I cannot find where to get the host to complete a lightning channel. I have tried searching in the command prompt but cannot find host info anywhere.
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 ...
0
votes
1answer
32 views

What happens if a country blocked external Bitcoin traffic?

Say a country decides to completely sever itself from the outside world, like so. Assume no leaks. As I understand, once the local miners process all the international transactions in everyone's' ...
0
votes
1answer
38 views

Required conditions to be selected as intermediary node (Payment Service Provider) in Lightning Network?

I bring up some important questions about terminology of the Lightning Network and how to select the intermediary node as the Payment Service Provider in a routing channel: The following video (Link ...
0
votes
1answer
48 views

Does Eltoo eliminate the need to watch the blockchain/implement Watchtowers

Reading Blockstream's introduction article on Eltoo and one paragraph says: [..] in eltoo all participants share a common set of transactions, unlike LN-penalty, which requires asymmetry in which ...
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
83 views

Is it possible to rebalance channels by sending to yourself (from a channel to an other) in c-lightning? How?

I know it is possible with LND and I don't know if it is possible with Eclair. I have tried to issue an invoice and to find a route with the same node but I got the { "code" : -1, "message" : "Could ...
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 ...
2
votes
1answer
59 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
222 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
36 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 ...
2
votes
1answer
33 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
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 ...
0
votes
4answers
145 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
36 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
56 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
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
78 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
118 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
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 ...
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 ...
0
votes
1answer
48 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
55 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
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
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
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?
0
votes
2answers
47 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
39 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 ...
2
votes
3answers
104 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 ...
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 ...
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 ...
3
votes
1answer
96 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?
2
votes
1answer
89 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
84 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
38 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
32 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 ...
0
votes
1answer
39 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
74 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
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 ...
1
vote
2answers
87 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
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 ...
1
vote
1answer
30 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
75 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
33 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
30 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
126 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 ...
2
votes
1answer
29 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 ...