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
2
votes
1answer
262 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
98 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
56 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
385 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
3answers
149 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
79 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 ...
2
votes
3answers
75 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 ...
8
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 ...
2
votes
1answer
254 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?
2
votes
1answer
58 views

In which cases could I 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 can get stuck in one of these routes until the HTLC ...
1
vote
2answers
141 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
44 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 ...
6
votes
2answers
684 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
39 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
166 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
345 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
117 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
2
votes
3answers
78 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 ...
4
votes
1answer
168 views

Routing 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
73 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": "...
2
votes
1answer
641 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 ...
2
votes
2answers
129 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
274 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
82 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
159 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
86 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
98 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
48 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
69 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
132 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
42 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
78 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
67 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
78 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
135 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 ...
5
votes
1answer
113 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
210 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 ...
1
vote
1answer
650 views

How to create bidirectional channels using LND?

I created a channel with following command. But its not bidirectional by default. lncli openchannel --node_key=02cdf83ef8e45908b1092125d25c68dcec7751ca8d39f557775cd842e5bc127469 --local_amt=390000 ...
1
vote
1answer
30 views

Purpose of the LN transaction description

According to Bolt 11, an invoice may contain a short description. However, what I fail to understand is who is sending this information to whom. Since the invoice is usually generated by the payee, I'...
1
vote
1answer
152 views

Minimum funds required in a channel in Lightning?

I have noticed that, I cannot exhaust the funds in my channel to one side in lnd. I understand this makes sense so as to have some punishment in case of fraud, but I cannot find the reason for the ...
5
votes
1answer
68 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 ...
2
votes
1answer
456 views

How can I open channels with Eclair?

I have set up a Bitcoin Core wallet with 0.3 bitcoins in it and an Eclair lightning node. The rpc userid and password is set plus all the other settings I am supposed to have, hopefully. No problems ...
1
vote
1answer
258 views

How does the lightning network handle changing IPs?

What happens if suddenly my IP/Onion address changes? Will that be a problem for the lightning network? Or could my node just simply update the network graph as long as its public key stays the same?
2
votes
1answer
364 views

Being offline: when do other nodes close channels?

If my lightning node goes offline, how long will it take until my counterparty nodes close the channels they co-own with me? This is obviously up to the counterparty nodes, as they can choose ...
3
votes
1answer
1k views

Closing a channel in Lightning Network

I have some doubts about the closure of a lightning network channel. As far as I know, there can be (al least) 4 different scenarious: one node decides to close the channel, and the other one accept ...
0
votes
1answer
53 views

Need help with a .conf file to run a lighting node?

This is my configuration file and i followed all of the instructions for the program but it always gives me the error message about something missing. I don't even know what programming language .conf ...
2
votes
1answer
43 views

What is the relationship of the Lightning Network and the Bitcoin protocol?

Is Lightning running on the Bitcoin protocol or on another blockchain? Is is something like a sidechain? Where are the bitcoins in the Lightning Network stored?
0
votes
1answer
56 views

Lightning Network: what about tx fragmentation?

I really have no idea how to aks it right. Let me give an example: We have a some peoples A,B,C,D.... And A makes transaction to B, then A need to pay to C, then send some coins to D, etc... After ...
5
votes
2answers
215 views

Do the channel balances get publicly announced in real-time on Lightning Network?

In Lightning Network, is the balance publicly announced in real-time? On the one hand, it should be public as it is crucial to the routing mechanism. But, in case that the balance might reveal some ...
4
votes
1answer
101 views

What is the purpose of the announcement_signatures message as specified by the Lightning Network RFC?

Isn't the channel_announcement message enough for channel advertisement? Why is the announcement_signatures message required? Reference BOLT #7