Questions tagged [lightning-rfc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
51 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
62 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....
2
votes
1answer
110 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
52 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
43 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
88 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
44 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
41 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 ...
4
votes
1answer
139 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
60 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
117 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
40 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
101 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
311 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
142 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
187 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 ...