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 eb4c20c3cc Edited 08_routing_htlcs.asciidoc with Atlas code editor 3 years ago
.github/ISSUE_TEMPLATE
callouts
code
contrib
images
theme Edited theme/pdf/pdf.css with Atlas code editor 3 years ago
tools
.editorconfig
.gitattributes
.gitignore
.travis.yml
01_introduction.asciidoc
02_getting_started.asciidoc Edited 02_getting_started.asciidoc with Atlas code editor 3 years ago
03_how_ln_works.asciidoc
04_node_client.asciidoc Edited 04_node_client.asciidoc with Atlas code editor 3 years ago
05_node_operations.asciidoc Edited 05_node_operations.asciidoc with Atlas code editor 3 years ago
06_lightning_architecture.asciidoc
07_payment_channels.asciidoc Edited 07_payment_channels.asciidoc with Atlas code editor 3 years ago
08_routing_htlcs.asciidoc Edited 08_routing_htlcs.asciidoc with Atlas code editor 3 years ago
09_channel_operation.asciidoc Edited 09_channel_operation.asciidoc with Atlas code editor 3 years ago
10_onion_routing.asciidoc Edited 10_onion_routing.asciidoc with Atlas code editor 3 years ago
11_gossip_channel_graph.asciidoc Edited 11_gossip_channel_graph.asciidoc with Atlas code editor 3 years ago
12_path_finding.asciidoc Edited 12_path_finding.asciidoc with Atlas code editor 3 years ago
13_wire_protocol.asciidoc
14_encrypted_transport.asciidoc Edited 14_encrypted_transport.asciidoc with Atlas code editor 3 years ago
15_payment_requests.asciidoc
16_security_privacy_ln.asciidoc
17_conclusion.asciidoc
CONTRIBUTING.md
LICENSE.md
README.md
appendix-bitcoin-fundamentals-review.asciidoc
appendix_docker_basics.asciidoc
appendix_license_notices.asciidoc
appendix_protocol_messages.asciidoc
atlas.json Updated atlas.json 3 years ago
author_bio.html
colo.html
copyright.html
cover.html
failure_types_table.asciidoc
github_contributors.asciidoc
glossary.asciidoc
ix.html
part_1_divider.asciidoc
part_2_divider.asciidoc
preface.asciidoc
titlepage.html
toc.html

README.md

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.