Questions tagged [lightning-rfc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
171 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 ...
5
votes
1answer
328 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 ...
4
votes
1answer
571 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: ...
4
votes
1answer
41 views

How can I decode the feature string of a Lightning node with BOLT #9?

Typing the following command (with a running lightningd): lightning-cli listpeers I get peers which all have a features flag, for example 0252a1. In the manpage lightning-listpeers(7) it says, that ...
3
votes
1answer
234 views

Why was the base_fee for the routing fee calculation of the Lightning Network included?

Currently and as defined by BOLT 07 on the Lightning Network, the fees for forwarding an HTLC of amount amount_to_forward are computed as: fee_base_msat + amount_to_forward * ...
3
votes
1answer
750 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 ...
3
votes
1answer
172 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 ...
3
votes
1answer
148 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
1answer
84 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
2answers
48 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 ...
2
votes
1answer
33 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?
2
votes
2answers
161 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
115 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> ...
2
votes
2answers
181 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 ...
2
votes
1answer
466 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
78 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 ...
1
vote
1answer
21 views

Does the Breach Remedy Tx hinge on the remote party's revocation secret exclusively?

The original Lightning Paper required both signatures for the Breach Remedy Tx (see also this Q) but according to the BOLT #3 specs the Breach Remedy Tx only seems to hinge on the revocationpubkey for ...
1
vote
1answer
95 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....
1
vote
1answer
390 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 ...
1
vote
0answers
13 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 ...
1
vote
1answer
129 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 ...
0
votes
2answers
49 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
69 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 ...
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 ...
0
votes
1answer
117 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 ...
-1
votes
2answers
160 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? ...