You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Go to file
Severin Alexander Bühler 4867f8a35f
added visualizations with white background (#764)
3 years ago
.github/ISSUE_TEMPLATE
callouts
code/docker Changed comment, wrong implementation 4 years ago
contrib onion routing path and payloads 3 years ago
images added visualizations with white background (#764) 3 years ago
theme
tools indent 3 years ago
.editorconfig
.gitignore moved gitignore 3 years ago
.travis.yml
01_introduction.asciidoc Update 01_introduction.asciidoc (#686) 3 years ago
02_getting_started.asciidoc Add reference to bitcoin fundamentals appendix 4 years ago
03_how_ln_works.asciidoc Update 03_how_ln_works.asciidoc (#695) 3 years ago
04_node_client.asciidoc docker builds images and not containers (#676) 3 years ago
05_node_operations.asciidoc single word change (#734) 3 years ago
06_lightning_architecture.asciidoc Chapters 6, 7 and README updates 3 years ago
07_payment_channels.asciidoc Ch07: Typos, fixes and attempts at improving clarity (#752) 3 years ago
08_routing_htlcs.asciidoc changed combined to combine (typo) (#733) 3 years ago
09_channel_operation.asciidoc Unwrapping the onion 3 years ago
10_onion_routing.asciidoc ch-10: chan extracts the inner HMAC instead of verifying again 3 years ago
CONTRIBUTING.md
LICENSE.md
README.md updated README 3 years ago
appendix-bitcoin-fundamentals-review.asciidoc asymmetric, delayed, revocable commitments 3 years ago
appendix_failure_types.asciidoc Error return and conclusion 3 years ago
appendix_license_notices.asciidoc
atlas.json Updated atlas.json 4 years ago
author_bio.html Edited author_bio.html with Atlas code editor 4 years ago
colo.html
copyright.html Edited copyright.html with Atlas code editor 4 years ago
cover.html Edited cover.html with Atlas code editor 4 years ago
failure_types_table.asciidoc Updated failure_types table 3 years ago
github_contributors.asciidoc Separate github contributor list from preface 3 years ago
glossary.asciidoc Update glossary.asciidoc (#667) 3 years ago
ix.html
preface.asciidoc Separate github contributor list from preface 3 years ago
titlepage.html Edited titlepage.html with Atlas code editor 4 years ago
toc.html

README.md

Mastering the Lightning Network

Build Status

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.

Status

The current status of the book is "RELEASE PREP". See below for status of specific chapters and read the contribution guide to learn how and where to contribute.

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 ############### 🔏
Payment Path Finding ############### 🔏
P2P Communication ### 📑
Channel Graph and Gossip Layer ### 📑
End-to-End Payment Presentation Layer ### 📑
Lightning Applications (LApps) # 💭
LN Security and Privacy ################ 🔏
LN's Future # 💭
APPENDICES APPENDICES APPENDICES
A1 - Bitcoin Fundamentals Review ########### ✔️
An - License Notices # ✔️

Total Word Count: 90487

Target Word Count: 100,000-120,000

Contributing

The authors welcome contributions to this book! Read the Guide to Contributing

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.