1
0
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)
Go to file
Olaoluwa Osuntokun 876b93151f BOLT 04: increase max size of onion payload messages (#227)
* BOLT 04: increase max size of onion payload messages

This commit increases the max size of the encapsulated onion error
messages. This is a follow up change to the recent change that added a
`chain_hash` field to the `channel_update` message. With the addition of
this field, the largest payload encoded within the onion errors has
expanded to 138 bytes:

  * msat_amount || 2_byte_len || channel_update.

As a result, the old fixed limit (including padding) is now
insufficient. We use 256 bytes here in order to give us room for future
message expansions.
2017-08-22 09:37:02 +09:30
tools tools: Update formatting of python tools 2017-07-11 12:11:12 +02:00
.aspell.en.pws bolt10: shutting the spellchecker up once more 2017-08-21 22:53:18 +02:00
.travis.yml Enable travis to spellcheck BOLT#10 to 99. 2017-05-26 14:31:50 +09:30
00-introduction.md Index: add BOLT 10. 2017-08-22 09:33:44 +09:30
01-messaging.md Clarify init-message description 2017-05-25 09:43:31 +09:30
02-peer-protocol.md glossary: move definition of chain_hash to BOLT #0 2017-08-08 10:06:21 +09:30
03-transactions.md BOLT 3: define closing transaction. 2017-08-08 10:05:18 +09:30
04-onion-routing.md BOLT 04: increase max size of onion payload messages (#227) 2017-08-22 09:37:02 +09:30
05-onchain.md BOLT 5: define what "failing a channel" means. 2017-05-18 09:48:53 +09: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 glossary: move definition of chain_hash to BOLT #0 2017-08-08 10:06:21 +09:30
08-transport.md BOLT 8: Add CC-BY icon image (to match other BOLTs) 2017-05-11 11:20:36 +09:30
09-features.md BOLT 9: remove feature bit for channels_public 2017-05-27 10:30:42 +09:30
10-dns-bootstrap.md bolt10: shutting the spellchecker up once more 2017-08-21 22:53:18 +02:00
11-payment-encoding.md BOLT 11: signature is of single SHA256, not double. 2017-08-22 09:28:27 +09: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.