mirror of
https://github.com/lightning/bolts.git
synced 2025-01-19 05:33:37 +01:00
BOLT: Basis of Lightning Technology (Lightning Network Specifications)
e1652819a0
Attempts to clarify the weight calculation of penalty transactions, and makes sweeping the `to_remote` output optional without breaking any existing constraints. Assuming these figures are correct, the decision to sweep the `to_remote` _does not_ change the current unidirectional limit of 483 HTLCs. Thus, the option to do so can be made independently by either party/implemenation. The previous equation used to calculate `max_num_htlcs` slightly underestimated the theoretical maximum weight, since non-witness data was treated as 1:1 with witness data. Ultimately, this had no effect on the computed results, but figured we should be more specific here for the purpose of properly estimating transaction fees. This commit also modifies the `to_local_script` to use the latest construction; the derived weights have been updated accordingly. |
||
---|---|---|
tools | ||
.aspell.en.pws | ||
.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 | ||
10-dns-bootstrap.md | ||
11-payment-encoding.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.