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 93b7ee031b
Drop the required channel_update in failure onions (#1173)
As noted previously, `channel_update`s in the onion failure packets
are massive gaping fingerprintign vulnerabilities - if a node
applies them in a publicly-visible way the err'ing node can easily
identify the sender of an HTLC.

While the updates are still arguably marginally useful for nodes to
use in their pathfinding local to retires of the same payment, this
too will eventually become an issue with PTLCs. Further, we
shouldn't be letting nodes get away with delaying payments by
failing to announce the latest channel parameters or enforcing new
parameters too soon, so treating the node as having indicated
insufficient liquidity (or other general failure) is appropriate
in the general case.

Thus, here, we begin phasing out the `channel_update` field,
requiring nodes ignore it outside of the current payment and making
it formally optional (though nodes have been doing this for some
time due to various bugs).

Because some nodes may want to use update data on mobile when they
have stale gossip data, it is left optional.
2024-07-11 09:32:21 +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 Fix typos (#1130) 2024-01-30 06:54:54 +01: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 Drop the required channel_update in failure onions (#1173) 2024-07-11 09:32:21 +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.