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
kristen@oreilly.com c6737535c9 Created images/cover_ER.png 3 years ago
.github/ISSUE_TEMPLATE Update issue templates 4 years ago
.gitignore Update .gitignore 5 years ago
callouts O'Reilly templates 4 years ago
code/docker Merge pull request #633 from keblek/develop 3 years ago
contrib Incorporating fairness protocol in ch1 3 years ago
images Created images/cover_ER.png 3 years ago
theme O'Reilly templates 4 years ago
tools README - Status by section and wordcount 4 years ago
.editorconfig Add trim_trailing_whitespace to .editorconfig 4 years ago
.travis.yml Relaxed Travis to avoid breaking builds while things are in flux 4 years ago
01_introduction.asciidoc Suggested by Rene: LN _is_ Bitcoin 3 years ago
02_getting_started.asciidoc Added testnet operation (Fixes #327) 3 years ago
03_how_ln_works.asciidoc Merge pull request #600 from HannahMR/stacked-headings 3 years ago
CONTRIBUTING.md contributing: add US spelling instruction 4 years ago
LICENSE.md Initial LICENSE.md 5 years ago
README.md added a table of dns servers 3 years ago
appendix_license_notices.asciidoc Added subheading to license notice appendix 4 years ago
atlas.json Updated atlas.json 3 years ago
author_bio.html Updates to O'Reilly files 4 years ago
channel-construction.asciidoc change wording 3 years ago
channel-graph.asciidoc Changing story/example names throughout 3 years ago
channel-operation.asciidoc Changing story/example names throughout 3 years ago
colo.html Updates to O'Reilly files 4 years ago
copyright.html Formatting fixes 4 years ago
e2e-presentation-layer.asciidoc Update e2e-presentation-layer.asciidoc 4 years ago
glossary.asciidoc Merge pull request #577 from jerzybrzoska/patch-4 3 years ago
gossip.asciidoc added a table of dns servers 3 years ago
ix.html O'Reilly templates 4 years ago
node_client.asciidoc Renaming in scripts, image filename and other 3 years ago
node_operations.asciidoc Merge pull request #631 from keblek/patch-6 3 years ago
onion-routing-htlc-forwarding.asciidoc Update onion-routing-htlc-forwarding.asciidoc 4 years ago
p2p.asciidoc Update p2p.asciidoc 4 years ago
path-finding.asciidoc Renaming in scripts, image filename and other 3 years ago
preface.asciidoc change wording 3 years ago
routing.asciidoc Renaming in scripts, image filename and other 3 years ago
titlepage.html More formatting fixes to titlepage 4 years ago
toc.html O'Reilly templates 4 years ago

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 Q2'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 "IN PROGRESS". 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.
Section Length (Word Count) Status
Preface and Acknowledgments #### 🔃
Glossary ############## 🔃
Introduction ###### 🔍
Getting Started ############ 🔍
LN Basics (How LN Works) ########################### 🔍
Nodes (LN Clients) #################### 🔍
Operating a Node ############################ 🔍
PART 2 PART 2 PART2
Intro to LN Routing (HTLCs) #################### 🔏
Channel Construction in Detail ########### 🔏
Channel operation with HTLCs and Statemachine ###### 🔏
Payment Path Finding ############### 🔏
P2P Communication ### 📑
Channel Graph and Gossip Layer ### 📑
End-to-End Payment Presentation Layer ### 📑
Lightning Applications (LApps) # 💭
LN's Future # 💭

Total Word Count: 89705

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.