mirror of
https://github.com/lightning/bolts.git
synced 2025-02-22 06:21:48 +01:00
BOLT: Basis of Lightning Technology (Lightning Network Specifications)
1. Only one per-hop thing, called `per-hop`, or `hops_data` when in aggregate. 2. Move HMAC to the end of stuff it covers, both of the packet itself, and the per-hop. 3. Use `channel-id` instead of RIPEMD(nodepubkey). 4. Use 4 byte amounts. 5. This is all for realm "0", we can have future realms. We also have 16 bytes of unused padding. 6. No longer need the `gamma` key, but document the `_um_` key used for errors. 7. Use normal 32-byte HMAC, not truncated 20-bytes, which more than eats up the room we saved. The result is that the onion is now 1366 not 1254 bytes, but simpler. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> |
||
---|---|---|
tools | ||
.travis.yml | ||
00-introduction.md | ||
01-messaging.md | ||
02-peer-protocol.md | ||
03-transactions.md | ||
04-onion-routing.md | ||
05-onchain.md | ||
06-irc-announcements.md | ||
07-routing-gossip.md | ||
08-transport.md | ||
09-features.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.