People who code: we want your input. Take the Survey

Questions tagged [lightning-rfc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
10 views

Is it possible to announce several IP addresses for a single lightning node according to Lightning protocol specs?

Is it possible to announce several IP addresses for a single lightning node? The idea is to run a node that is connected to different ISPs to increase its uptime. LND seems to able to run in a cluster ...
3
votes
2answers
35 views

Delay of a revocable transaction in the Lightning Network

The Lightning Network Whitepaper describes the concept of Revocable Sequence Maturity Contracts (RSMC), which allows a commitment transaction to be revoked during a predefined delay after the channel ...
0
votes
1answer
13 views

Does “fail the channel” mean unilateral close in BOLTS?

The BOLTs frequently mentioned "fail the channel" when something unexpected is received or happens. For instance, when receiving an update_fulfill_htlc message, you should fail the channel ...
1
vote
1answer
21 views

What is lnprototest exactly? Can it be used to test an individual Lightning implementation or just interoperability between implementations?

What is lnprototest exactly? Can it be used to test an individual Lightning implementation or just interoperability between implementations? What does an implementation need to do to use lnprototest?
-1
votes
2answers
128 views

How exactly do I use Lightning Network? Does it even actually exist?

http://lightning.network/how-it-works/ Where is the download button for the official, highly trusted CLI application which works with Bitcoin Core? So that I can actually make Lightning transactions? ...
1
vote
1answer
105 views

Reuse of payment hash in Lightning Network

Suppose there exist two such payment transfer request: A transfers 1 msat to R via A->B->C->R and S transfers 5 msat to R via S->B->C->R. Let the two HTLCs be formed across both the paths ...
2
votes
2answers
123 views

Lightning Network: How was the maximum allowed HTLCs in flight computed?

The maximum acceptable max_accepted_htlcs (maximum number of HTLCs forwarded concurrently) is specified by the BOLTS as being 483. How was this value chosen ?
2
votes
1answer
104 views

Possible race condition(double spend) on HTLC-Timeout in the lightning network?

From the offered HTLC Outputs, # To remote node with revocation key OP_DUP OP_HASH160 <RIPEMD160(SHA256(revocationpubkey))> OP_EQUAL OP_IF OP_CHECKSIG OP_ELSE <remote_htlcpubkey> ...
1
vote
1answer
89 views

BOLT 11 - Why is the description field limited to 639 bytes?

Why is the description field in a Lightning Network invoice limited to 639 bytes? https://github.com/lightningnetwork/lightning-rfc/blob/master/11-payment-encoding.md#tagged-fields https://github....
3
votes
1answer
677 views

What are atomic multi path payments (AMPs) and why/how is it being implemented in Lightning Network?

There has been a lot of discussion and articles around how the implementation of AMP is going to benefit the routing capabilities of Lightning Network. What is the exact issue in the current ...
4
votes
1answer
459 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
2answers
48 views

BOLT #7: Can receiving node requirements in channel_update message give rise to malicious attacks?

Following requirements have been placed on the receiving nodes related to the channel_update message in BOLT #7. if timestamp is NOT greater than that of the last-received channel_update for ...
0
votes
1answer
112 views

BOLT #3: Shouldn't timeout be included in the script of “Offered HTLC Outputs” for the local node?

According to the BOLT #3 documentation, the offered HTLC output has the following script that allows the remote node to claim the funds with the payment pre-image and the local node to claim it after ...
3
votes
1answer
163 views

Is there a way to abort a stuck lightning network payment?

I recently had this problem IRL: tried to pay in a coffee shop with LN, but my channel partner was "sleeping", so after a while I paid in cash. Then, 5 min later, the server comes back online, the LN ...
0
votes
1answer
68 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 ...
5
votes
1answer
164 views

How would the gossip protocol announce channels from a channel factory?

I was just listening to SLP59 with Christian Decker. They mainly discussed channel factories. While the construction of multiparty channels and higher order systems (sub channels) being derived from ...
2
votes
1answer
70 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 ...
2
votes
2answers
176 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 ...
3
votes
1answer
82 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 ...
3
votes
1answer
144 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=...
2
votes
1answer
454 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?
5
votes
1answer
303 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 ...
1
vote
1answer
365 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 ...