1
0
Fork 0
mirror of https://github.com/lightning/bolts.git synced 2025-03-13 11:35:41 +01:00
BOLT: Basis of Lightning Technology (Lightning Network Specifications)
Find a file
Matt Morehouse ac35563286
Check for preimage before failing back missing HTLCs
When an outstanding HTLC is missing from a confirmed commitment, the
current recommendation is to fail it back immediately (or after a
reorg-safety delay).  But if a preimage is available for the HTLC,
failing it back is at best going to cause an error (if the HTLC has
already been fulfilled upstream) and at worst going to cause loss of
funds (if the HTLC has *not* already been fulfilled upstream).

Instead, the spec should clearly indicate that upstream HTLCs should be
fulfilled when possible and only failed back if a preimage is not
available.
2025-03-05 08:43:33 -06:00
bolt04 BOLT 4: fix nomenclature in bolt04/route-blinding-test.json 2024-07-30 06:57:20 +09:30
bolt07 Add test vector for extended queries 2019-09-16 22:36:59 +02:00
bolt12 Add test vector for (invalid) mixed-case offer encoding (#1217) 2025-02-04 15:31:46 +01:00
proposals Leftover renaming of path_key in blinded paths 2024-12-03 12:21:43 +10:30
tools chore: fix typo in tools/bolt3-bitcoind-test.sh (#1226) 2025-02-11 18:16:41 -08:00
.aspell.en.pws BOLT 12: offers, sixth draft 2024-09-24 19:40:59 +09: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 12: Rename the title line to be clearer. 2025-01-28 06:39:32 +10:30
01-messaging.md Peer storage for nodes to distribute small encrypted blobs. 2025-01-28 06:38:36 +10:30
02-peer-protocol.md Explicitly mention which output to set to 0 2025-02-12 09:46:08 +01:00
03-transactions.md Simplify state machine by removing shutdown exchange 2025-02-12 09:46:08 +01:00
04-onion-routing.md BOLT 4: (trivial) rm duplicate line (#1227) 2025-02-11 17:21:14 +01:00
05-onchain.md Check for preimage before failing back missing HTLCs 2025-03-05 08:43:33 -06:00
07-routing-gossip.md More clarifications around channel_announcement handling (#1220) 2025-02-11 09:37:13 +01: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 Fix @tnull's comments 2025-02-12 09:46:08 +01:00
10-dns-bootstrap.md BOLT 10 copy edit (#440) 2018-08-07 00:10:11 +00:00
11-payment-encoding.md Bolt 11: add example SHA256 hash of description (#994) 2024-09-18 11:09:49 +02:00
12-offer-encoding.md 12: Rename the title line to be clearer. 2025-01-28 06:39:32 +10:30
CoC.md Add the folks who signed up as CoC members 2024-11-04 21:48:13 +00:00
CONTRIBUTING.md CONTRIBUTING.md: modern feature bit assignment. 2023-09-26 05:42:35 +09:30
README.md meta: update the link to the ML (#1170) 2025-02-07 16:53:44 +01: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 delving bitcoin.

Previous discussions used the lightning-dev mailing list: an archive can be found here.

Start here for Table of Contents

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