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]

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

0
votes
1answer
14 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
20 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
32 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
15 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 ...
0
votes
2answers
16 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?
0
votes
2answers
14 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
1answer
27 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
34 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 ...
1
vote
1answer
25 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
30 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 ...
-2
votes
1answer
133 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 ...
0
votes
2answers
31 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-...
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
47 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=...
3
votes
2answers
41 views

Is there actually a dilemma of whether or not to publish channel states for LN nodes?

I've heard that there is such a dilemma for LN: if channel states were not published, the payer will not able to find any viable path, unless he takes brute-force-like probing approach (which looks ...
3
votes
1answer
88 views

Why did my lightning node not route payments after I have funded 5 payment channels?

I have setup a docker-compose with bitcoind and clightning. After 28 hours funding 5 channels I see nothing at all. I do not expect income, but at least that the channels are used. $ lightning-cli ...
0
votes
2answers
35 views

Implementation of tokens/assets/colored coins on top of bitcoin lighning nodes / channels?

I'm trying to research how tokens or colored coins would work on top of bitcoin lightning channels / nodes. Has any project tried to build token issuance on top of the Bitcoin lightning network? How ...
1
vote
2answers
37 views

Is it possible to run two nodes with the same public key?

Is it possible to run two nodes with the same public key on the Lightning network? The reason is reliability -- two different servers run different instances of node software with the same setup (incl ...
1
vote
3answers
40 views

Lightning network channel capacities and gambling site jackpot payouts

Let's say I want to make some kind of gambling app: The user creates a channel with the business. (local_amt = 1000, remote_amt = 0, capacity = 1000) User bets a few times and wins a jackpot of 5000 ...
7
votes
2answers
1k views

What makes millisatoshi real?

In the Lightning Network, it's possible to pay in units a thousandth of a satoshi, a millisatoshi. But you can't redeem them directly on the main chain when closing a channel, it will be subject to a ...
1
vote
1answer
24 views

Limits on lightning channels and payments

What are the upper and lower limits on Bitcoin Lightning channel balances and transactions, and where are these limits defined?
1
vote
1answer
47 views

In which cases I could find funds locked in a failed route?

I received an invoice from node Z and my node (A) suggests me 4 possible routes. If the first two routes fail, are there cases in which funds get stuck into one of these routes until the HTLC expires?...
1
vote
2answers
60 views

Can a Lightning channel's initial BTC value be updated?

When an LN channel is created, it is funded with an initial BTC amount by at least one one peer. But given that most of the whole idea of LN is the existence of long running channels, I wonder if this ...
0
votes
1answer
36 views

Why would apps use Lightning over an on-chain TX?

I'm trying to understand software orientated payment use-cases for Lightning payments. Given a web app that accepted BTC payments charged in Satoshi for a service - watching videos for example; why ...
4
votes
2answers
245 views

What criteria should be taken into account when selecting nodes to create new lightning channels with?

Alex Bosworth recently pointed out: I see people connect to a "well connected" node on LN and by that they mean they connect to a node with lots of channels. The number of channels is actually a ...
1
vote
1answer
33 views

Can I use lightning for ERC-20 (Ethereum coins)

Just finished setting up my lightnig node. It is awesome!! Does anybody knows an implementation or documentation that explains how to make it work on rinkeby or ethereum mainnet?
4
votes
1answer
145 views

Lightning Network: asymmetry in the information tracked by each participant?

In following paper, written by Christian Decker et al., there is a paragraph that is not clear to me. eltoo: A Simple Layer2 Protocol for Bitcoin "The central idea of Lightning is to invalidate ...
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 ...
0
votes
1answer
46 views

Ownership of private keys in the Lightning Network

My question refers to the technical side: who is holding the private keys if a third party is using my lightning node to participate in the Lightning Network payment channel ? Thank you
1
vote
0answers
28 views

Why can’t lightning tx’s be signed with sighash single to allow for fee updates?

Are out-of-band fee payments to confirm a lightning closing transaction the only way to manage a situation where the sat/kw of a previously signed commitment tx are simply below market? If additional ...
2
votes
1answer
66 views

Routng in Bitcoin Lightning Network

Here is all we can find in the Lightning Network whitepaper about payment routing process that it is completely unclear to me (at least it is not enough to know what happens exactly at time of finding ...
0
votes
1answer
31 views

How is the recipient address for closing a Lightning Channel derived?

I've recently opened a payment channel in the Bitcoin testnet LN. The funding TX ded9fc8b1ee5506037e057a37057a598c362c4b698a40076e75ea88e2ae8a2a2 decoded: { "txid": "...
1
vote
1answer
107 views

To create a channel on the Lightning Network, do you have to execute an actual transaction?

I'm trying to better understand the Lightning Network. I was reading this article -- https://medium.com/coinmonks/lightning-network-how-does-it-work-ceeeda8ad21e . My question is, when two parties ...
1
vote
2answers
33 views

How to determine how many transactions are being processed by the lightning network?

Is there a way to get an estimation of how many transactions are being currently (last hour or last 24h) processed by the lightning network? And by a specific node?
2
votes
1answer
60 views

Lightning Onion Routing vs TOR

From what I can gather BOLT #4 is applying similar methods, such as obscuring previous and future hops from intermediate nodes, to the TOR network for routing payments across the Lightning network. ...
0
votes
1answer
31 views

What is the relation between a Hash Time Lock Contract(HTLC) and a Commitment transaction?

I want to know about what happens to the commitment transactions as the HTLC's are sent and cleared along to peers in a route.
0
votes
1answer
45 views

c-lightning determine channel capacity

I'm using c-lightning to experiment with sending micropayments backwards and forwards between 2 separate nodes. One area I am experiencing great difficulty with is being able to generate an invoice ...
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?
0
votes
1answer
56 views

Why do we need a “routing” process in Lightning Network?

If I am wrong, please correct me. If we simplify Lightning Network, it seems to work similar to this simple unidirectional payment channel between two parties (although, Lightning Network is a ...
1
vote
1answer
36 views

Order of Exchanging Revocation Keys during Lightning Transactions

How do Alice and Bob share their ephemeral private keys simultaneously? If they don't, and let's say Alice first sends Bob her private key. At this point, Bob can broadcast his current commitment ...
0
votes
1answer
48 views

Is routing approach of Bitcoin Lighning Network “decentralized” and “trust-less”?

From the Bitcoin Lightning Network: it is possible to find a path across the network similar to routing packets on the internet. Is routing approach of Bitcoin Lighning Network performed in a "...
2
votes
1answer
43 views

lightning-cli list only my channels

After connecting to a busy lighnting node such as 03c856d2dbec7454c48f311031f06bb99e3ca1ab15a9b9b35de14e139aa663b463@testnet-lnd.htlc.me the number of channels my own lightning node knows about ...
1
vote
0answers
27 views

library for light-weight wallet : btcsuite or BitcoinJ [closed]

Do btcsuite + Neutrino(Lightning-lab) together provide sufficient foundation for light client capable to service onchain transactions (not multisig & not related to Payment Channels)? Or is it ...
0
votes
2answers
52 views

Lighting Network transaction

I have never used LN, but read about it and I am confused about one thing, if I am send BTC through channel, then receiver exactly know who send this and can in some way check how much sender's ...
0
votes
1answer
30 views

Lightning payment between two nodes

I'm struggling to work out how I can setup a channel between two lightning nodes so that I can send a single payment from one node to the other. I have set up two separate c-lightning nodes connected ...
0
votes
1answer
47 views

How do nodes communicate over Lightning network?

I read the following article and watched below video. https://medium.com/@melik_87377/lightning-network-enables-unicast-transactions-in-bitcoin-lightning-is-bitcoins-tcp-ip-stack-8ec1d42c14f5 https:/...
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
84 views

Lightning network routing failure rate

Let's say a lightning node A wants to route a payment to a lightning node B, being A and B not directly connected.A looks for routes throughout the network, using the info about the total capacity of ...