1
0
mirror of https://github.com/lightning/bolts.git synced 2024-11-19 01:50:03 +01:00
BOLT: Basis of Lightning Technology (Lightning Network Specifications)
Go to file
Matt Corallo 9ab3c87a28 Correct final_cltv handling in blinded paths
When paying a blinded path, we don't have a CLTV delta at each hop
available, but rather only a total CLTV delta for the entire
blinded path.

However, the onion format currently still requires that we specify
an `outgoing_cltv_value` for the final hop. As the sender, we don't
have a sensible value to put there, as we don't know which part of
the total CLTV delta belongs to the recipient.

The sender is instructed to use the values that are known to them
when setting `outgoing_cltv_value` for the final hop:
- The current block height.
- Any additional delta added to account for block propagation and
  improve privacy.

This change reflects the behavior of some implementations at the time
of writing.
2023-07-31 15:40:05 -05:00
bolt04 Bolt 4: clarify onion test payload contents (#1077) 2023-05-10 15:06:19 +02:00
bolt07 Add test vector for extended queries 2019-09-16 22:36:59 +02:00
proposals Bolt 4: add blinded payments 2023-03-28 08:44:14 +02:00
tools tools: remove option handling now last optional field was removed. 2023-05-11 12:01:38 +09:30
.aspell.en.pws Bolt 4: add blinded payments 2023-03-28 08:44:14 +02:00
.copy-edit-stylesheet-checklist.md Fix typos 2019-09-26 06:12:41 +00:00
.gitattributes Make Markdown linguist-detectable (#930) 2021-10-25 20:55:05 +02:00
.travis.yml spelling: check all the .md files 2019-07-28 07:03:19 +00:00
00-introduction.md Fix typo: 'them' instead of 'her' (#1005) 2022-06-27 08:24:41 +02:00
01-messaging.md Merge pull request #1075 from t-bast/remove-disconnect-warning 2023-05-09 18:06:53 +00:00
02-peer-protocol.md Allow unset onion_hash in invalid_onion_blinding (#1093) 2023-07-27 11:31:40 +02:00
03-transactions.md BOLT 03: fix anchors same amt and pre-image test vector 2023-02-28 10:51:45 +01:00
04-onion-routing.md Correct final_cltv handling in blinded paths 2023-07-31 15:40:05 -05:00
05-onchain.md Clarify the sighash types for HTLC Success and Timeout transactions (#954) 2022-01-31 21:05:20 +01:00
07-routing-gossip.md bolt07: enforce htlc_maximum_msat >= htlc_minimum_msat (#1089) 2023-06-25 14:35:18 +02:00
08-transport.md BOLT 8: make it clear that there are *two* chaining keys. 2023-07-18 05:38:27 +09:30
09-features.md Bolt 4: add blinded payments 2023-03-28 08:44:14 +02:00
10-dns-bootstrap.md BOLT 10 copy edit (#440) 2018-08-07 00:10:11 +00:00
11-payment-encoding.md A note on the maximum size of Tagged Fields (#1042) 2022-12-22 13:27:15 +01:00
CONTRIBUTING.md CONTRIBUTING.md: first draft of how to write and change spec. 2019-07-28 07:03:19 +00:00
README.md Fix typo in name mailing list name (#931) 2021-10-27 15:54:09 +02:00

Lightning Network In-Progress Specifications

The specifications are currently a work-in-progress and currently being drafted.

Pull requests and comments welcome, seeking input from community stakeholders.

Discussion available on the lightning-dev mailing list.

Start here for Table of Contents

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.