mirror of
https://github.com/lightning/bolts.git
synced 2024-11-19 10:00:04 +01:00
BOLT: Basis of Lightning Technology (Lightning Network Specifications)
db92932a9f
The specification currently doesn't specify the case where the onion per-hop payload can't be correctly decoded. This is somewhat fine with the fixed frames because every field of the payload can always be interpreted as a numeric value from the input bytes, so it leads to application errors in upper layers when those values are actually interpreted (and we realize that for instance we have an invalid short_channel_id` value). With variable-length tlv streams in the onion payloads, we will encounter decoding errors (duplicate tlv types, invalid ordering, etc) and the spec should define the failure code to use in that case. |
||
---|---|---|
bolt04 | ||
tools | ||
.aspell.en.pws | ||
.copy-edit-stylesheet-checklist.md | ||
.travis.yml | ||
00-introduction.md | ||
01-messaging.md | ||
02-peer-protocol.md | ||
03-transactions.md | ||
04-onion-routing.md | ||
05-onchain.md | ||
07-routing-gossip.md | ||
08-transport.md | ||
09-features.md | ||
10-dns-bootstrap.md | ||
11-payment-encoding.md | ||
CONTRIBUTING.md | ||
README.md |
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 lighting-dev mailing list.
Start here for Table of Contents
This work is licensed under a Creative Commons Attribution 4.0 International License.