The Lightning Network (LN) is a rapidly growing second-layer payment protocol that works on top of Bitcoin to provide near-instantaneous transactions between two parties. With this practical guide, authors Andreas M. Antonopoulos, Olaoluwa Osuntokun, and Rene Pickhardt explain how this advancement will enable the next level of scale for Bitcoin, increasing speed and privacy while reducing fees.
Ideal for developers, systems architects, investors, and entrepreneurs looking to gain a better understanding of LN, this book demonstrates why experts consider LN a critical solution to Bitcoin's scalability problem. You'll learn how LN has the potential to support far more transactions than today's financial networks.
This open book is licensed under a Creative Commons License (CC BY-NC-ND). Free download in PDF format is not available. You can read Mastering the Lightning Network book online for free.
Table of Contents
How the Lightning Network Works
Lightning Node Software
Operating a Lightning Network Node
Lightning Network Architecture
Routing on a Network of Payment Channels
Channel Operation and Payment Forwarding
Gossip and the Channel Graph
Pathfinding and Payment Delivery
Wire Protocol: Framing and Extensibility
Lightning's Encrypted Message Transport
Lightning Payment Requests
Security and Privacy of the Lightning Network