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 99cf432091 Edited 03_how_ln_works.asciidoc with Atlas code editor 3 years ago
.github/ISSUE_TEMPLATE
.gitignore
callouts
code/docker
contrib
images
theme
tools
.editorconfig
.travis.yml
01_introduction.asciidoc
02_getting_started.asciidoc
03_how_ln_works.asciidoc
04_node_client.asciidoc
05_node_operations.asciidoc
06_lightning_architecture.asciidoc
07_routing_htlcs.asciidoc
CONTRIBUTING.md
LICENSE.md
README.md
appendix-bitcoin-fundamentals-review.asciidoc
appendix_license_notices.asciidoc
atlas.json
author_bio.html
channel-construction.asciidoc
channel-graph.asciidoc
channel-operation.asciidoc
colo.html
copyright.html
cover.html
e2e-presentation-layer.asciidoc
glossary.asciidoc
gossip.asciidoc
ix.html
onion-routing-htlc-forwarding.asciidoc
onion-routing.asciidoc
p2p.asciidoc
path-finding.asciidoc
preface.asciidoc
titlepage.html
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 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.
  • ✔️ 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 # 🔍
Routing (HTLCs) ############### 🔍
Channel Construction in Detail ########### 🔏
Channel operation with HTLCs and Statemachine ###### 🔏
Payment Path Finding ############### 🔏
Onion Construction and Routing # 🔏
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: 101126

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.