TheSkallywag / lnbook

Mastering the Lightning Network (LN)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mastering the Lightning Network

Build Status

STATUS: IN PRODUCTION

NO EDITS OR PULL REQUESTS ARE ACCEPTED AT THIS TIME.

The book is currently (Sep 2021) in final production. No changes will be accepted.

Mastering Lightning Cover

About

Mastering the Lightning Network is an O'Reilly Media book, due for publication in Q4'2021, and announced in August 2019 by authors Andreas M. Antonopoulos (@aantonop), Olaoluwa Osuntokun (@roasbeef), Rene Pickhardt (@renepickhardt).

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.

Legend

  • πŸ”ƒ LIVE EDITS - Continuously changing: Submit focused/small Issues and PRs
  • πŸ” REVIEW - Ready for review: Submit Issues and PRs as needed
  • πŸ” EARLY DRAFT - In progress, changing often: Submit issues only, NO PRs or fixes
  • πŸ“‘ OUTLINE - Rough outline - Please contribute! PRs welcome.
  • πŸ’­ PLANNED - Planned section - Do nothing yet.
  • βœ”οΈ DRAFT PUBLISHED - Published in early release - Copy edit only.
Section Length (Word Count) Status
PART 1 PART 1 PART 1
Preface and Acknowledgments #### βœ”οΈ
Glossary ############## βœ”οΈ
Introduction ########## βœ”οΈ
Getting Started ############# βœ”οΈ
LN Basics (How LN Works) ########################### βœ”οΈ
Nodes (LN Clients) ################## βœ”οΈ
Operating a Node ############################# βœ”οΈ
PART 2 PART 2 PART2
Lightning Architecture # βœ”οΈ
Payment Channels in Detail #################### βœ”οΈ
Routing (HTLCs) ################ βœ”οΈ
Channel operation and HTLC settlement ####### βœ”οΈ
Onion Construction and Routing ################# βœ”οΈ
Channel Graph and Gossip Layer ############ βœ”οΈ
Payment Path Finding ############ βœ”οΈ
Wire Protocol ######### βœ”οΈ
Encrypted Message Transport (Brontide) ########## βœ”οΈ
Payment Requests (Invoices) #### βœ”οΈ
LN Security and Privacy ################# βœ”οΈ
APPENDICES APPENDICES APPENDICES
A1 - Bitcoin Fundamentals Review ############ βœ”οΈ
A2 - Docker Basics ## βœ”οΈ
A3 - Protocol Messages ######## βœ”οΈ
A4 - License Notices # βœ”οΈ

Total Word Count: 126530

Target Word Count: 100,000-120,000

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:

Creative Commons License

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.

It is expected that the book will be released under a more permissive CC-BY-SA license within a year of publication.

About

Mastering the Lightning Network (LN)

License:Other


Languages

Language:AsciiDoc 95.9%Language:Shell 1.4%Language:HTML 0.9%Language:Dockerfile 0.7%Language:Python 0.6%Language:Makefile 0.3%Language:XSLT 0.2%Language:CSS 0.1%