4.7 KiB
Mastering the Lightning Network
STATUS: First Edition published on Dec 21, 2021
About
Mastering the Lightning Network is an O'Reilly Media book, by authors Andreas M. Antonopoulos (@aantonop), Olaoluwa Osuntokun (@roasbeef), Rene Pickhardt (@renepickhardt). It was published on Dec 21, 2021, in paperback and e-book, by O'Reilly Media. It is available everywhere that books are sold. This repository contains the manuscript of the book as published by O'Reilly Media, tagged as firstedition_firstprint.
The book describes the Lightning Network (LN), a Peer-to-Peer protocol running on top of Bitcoin and other blockchains, which provides near-instant, secure, micro-payments.
The book is suitable for technical readers with an understanding of the fundamentals of Bitcoin and other open blockchains.
Contents
Preface
Part 1
- Part 1 - Intro
- Introduction
- Getting Started
- How the Lightning Network Works
- Lightning Node Software
- Operating a Lightning Network Node
Part 2
- Part 2 - Intro
- Lightning Network Architecture
- Payment Channels
- Routing on a Network of Payment Channels
- Channel Operation and Payment Forwarding
- Onion Routing
- Gossip and the Channel Graph
- Pathfinding and Payment Delivery
- Wire Protocol: Framing and Extensibility
- Lightning's Encrypted Message Transport
- Lightning Payment Requests
- Security and Privacy of the Lightning Network
- Conclusion
Appendices
Glossary
Author Bios and Colophon
Source and license
Mastering the Lightning Network is released under the Creative Commons CC-BY-NC-ND license, which allows sharing the source code for personal use only. You may read this book for free. You may not create derivatives (such as PDF copies), or distribute the book commercially. The full terms of the license can be found here:
Mastering the Lightning Network by Andreas M. Antonopoulos, Olaoluwa Osuntokun, Rene Pickhardt is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Translations and Derivatives (eg. PDF, HTML, EPUB ebooks)
The current license does not permit derivative or commercial work. This means, it does not permit independent translations without pemission/license from O'Reilly Media (publisher). It also does not permit the production and circulation of PDF, HTML or other derivative renderings of the source ASCIIDOC, (with the exception for personal use only, not shared with others).
You can't translate this book without permission. You can't create ebooks in PDF, HTML EPUB or any other format unless it is for personal use only and not shared/distributed.
Licensing change in 12 months
It is expected that the book will be released under a more permissive CC-BY-SA license within a year of publication (i.e. Jan 2023). At that time we will provide a Transifex project for volunteer translations and it will be allowed to produce and share PDF or other ebook versions of the book.