1
0
Fork 0
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)
Find a file
Rusty Russell 8b29062f78 BOLT 4: Simplify onion format.
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>
2017-04-26 09:59:30 +09:30
tools tools/extract-formats.py: allow fields with _ in them. 2017-03-31 14:14:29 +10:30
.travis.yml travis-ci: Since we have code in here we need to test it 2017-01-28 14:10:04 +01:00
00-introduction.md BOLT 0,1,2,7: use txout not channel-id for demuxing. (#119) 2017-03-02 14:50:13 +10:30
01-messaging.md Fix brackets 2017-04-26 06:02:24 +09:30
02-peer-protocol.md BOLT 4: Simplify onion format. 2017-04-26 09:59:30 +09:30
03-transactions.md BOLT 3: fix labels on test vectors. 2017-03-24 12:24:24 +10:30
04-onion-routing.md BOLT 4: Simplify onion format. 2017-04-26 09:59:30 +09:30
05-onchain.md BOLT 3,5: update weight calculations for revocation key hash in script. 2017-03-08 05:50:44 +10:30
06-irc-announcements.md [trivial] Some spelling and language fixes in BOLTs 6,7,8 (#41) 2016-12-09 10:32:23 +10:30
07-routing-gossip.md bolt07: Add flag to disable channels temporarily. (#143) 2017-04-08 07:43:10 +09:30
08-transport.md BOLT08: Renumbering references 2017-02-28 13:48:54 +10:30
09-features.md BOLT 9: make it clear that 'channel_public' apply to all channels in the same connection 2017-02-21 14:41:27 +10:30
README.md Add CC-BY. 2016-11-23 06:22:59 +10:30

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

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