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
Elle e29fca5703
bolt4+proposals: fix max_cltv_expiry calculation (#1176)
* BOLT4: include `min_final_cltv_expiry_delta` in `max_cltv_expiry` calc

Include `min_final_cltv_expiry_delta` in the `max_cltv_expiry`
calculation. Also add a note that indicates that this field may be set
for the final node too. This is useful for the final node as then it
does not need to persist the path expiry separately and can rely on just
checking the `payment_relay` field when the payment arrives.

* BOLT4: include calculation for `total_cltv_delta` of a blinded path

Include an explicit formula to use for determining the total CLTV delta
of a blinded path so that it is clear that it should include the
recipient's `min_final_cltv_expiry_delta`.

* proposals: fix `max_cltv_expiry` value for final hop in example

More info
[here](https://github.com/lightning/bolts/issues/1174#issue-2371364610)
outlining why the example needed to be updated.
2024-07-15 22:20:48 +02:00
bolt04 fixup! BOLT 4: onion message support. 2023-08-01 06:20:16 +09:30
bolt07 Add test vector for extended queries 2019-09-16 22:36:59 +02:00
proposals bolt4+proposals: fix max_cltv_expiry calculation (#1176) 2024-07-15 22:20:48 +02:00
tools interactive-tx: Add dual-funding flow, using the interactive tx protocol 2024-02-13 11:55:23 -06:00
.aspell.en.pws BOLT 2: quiescence protocol. 2024-06-18 07:08:11 +09:30
.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 Update Signet port to correct hex value in BOLT #1 spec 2024-02-16 08:57:36 +10:30
02-peer-protocol.md BOLT 2: add requirement for disconnect if quiescence takes too long with HTLCs pending. 2024-06-18 07:08:11 +09:30
03-transactions.md Clean-up: follow-up on removing spec features 2024-05-21 10:58:55 +02:00
04-onion-routing.md bolt4+proposals: fix max_cltv_expiry calculation (#1176) 2024-07-15 22:20:48 +02:00
05-onchain.md Clean-up: follow-up on removing spec features 2024-05-21 10:58:55 +02:00
07-routing-gossip.md BOLT 9: Remove initial_routing_sync. 2024-05-20 15:06:27 -05: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 2: quiescence protocol. 2024-06-18 07:08:11 +09:30
10-dns-bootstrap.md BOLT 10 copy edit (#440) 2018-08-07 00:10:11 +00:00
11-payment-encoding.md Bolt11: min_final_cltv_expiry_delta is optional, not required (#1100) 2023-08-09 11:35:28 +02:00
CONTRIBUTING.md CONTRIBUTING.md: modern feature bit assignment. 2023-09-26 05:42:35 +09:30
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.