[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-10535":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":14,"stars7d":14,"stars30d":15,"stars90d":14,"forks30d":14,"starsTrendScore":14,"compositeScore":16,"rankGlobal":8,"rankLanguage":8,"license":17,"archived":18,"fork":18,"defaultBranch":19,"hasWiki":18,"hasPages":18,"topics":20,"createdAt":8,"pushedAt":8,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":14,"starSnapshotCount":14,"syncStatus":15,"lastSyncTime":34,"discoverSource":35},10535,"lnbook","lnbook\u002Flnbook","Mastering the Lightning Network (LN)",null,"AsciiDoc",2949,655,148,137,0,2,60.65,"Creative Commons Attribution Share Alike 4.0 International",false,"develop",[21,22,23,24,25,26,27,28,29,30],"bitcoin","blockchain","blockchains","c-lightning","lightning-network","ln","lnd","p2p","payments","peer","2026-06-12 04:00:51","# Mastering the Lightning Network\n\n[![CC BY-SA 4.0][cc-by-sa-shield]][cc-by-sa]\n\nSTATUS: First Edition published on Dec 21, 2021\n\n\u003Cimg src=\"images\u002Fcover_thumb.png\" width=200 alt=\"Mastering Lightning Cover\">\n\n## About\nMastering the Lightning Network is an O'Reilly Media book, by authors Andreas M. Antonopoulos ([@aantonop](https:\u002F\u002Ftwitter.com\u002Faantonop)), Olaoluwa Osuntokun ([@roasbeef](https:\u002F\u002Ftwitter.com\u002Froasbeef)), Rene Pickhardt ([@renepickhardt](https:\u002F\u002Ftwitter.com\u002Frenepickhardt)). It was published on Dec 21, 2021, in paperback and e-book, by O'Reilly Media. It is available everywhere that books are sold. This repository contains the manuscript of the book as published by O'Reilly Media, tagged as [firstedition_firstprint](https:\u002F\u002Fgithub.com\u002Flnbook\u002Flnbook\u002Freleases\u002Ftag\u002Ffirstedition_firstprint).\n\nThe 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.\n\nThe book is suitable for technical readers with an understanding of the fundamentals of Bitcoin and other open blockchains.\n\n## Contents\n\n### Preface\n\n*  [Cover](cover.html)\n*  [Titlepage](titlepage.html)\n*  [Copyright](copyright.html)\n*  [Table of Contents](toc.html)\n*  [Preface](preface.asciidoc)\n\n### Part 1\n\n*  [Part 1 - Intro](part_1_divider.asciidoc)\n*  [Introduction](01_introduction.asciidoc)\n*  [Getting Started](02_getting_started.asciidoc)\n*  [How the Lightning Network Works](03_how_ln_works.asciidoc)\n*  [Lightning Node Software](04_node_client.asciidoc)\n*  [Operating a Lightning Network Node](05_node_operations.asciidoc)\n\n### Part 2\n\n*  [Part 2 - Intro](part_2_divider.asciidoc)\n*  [Lightning Network Architecture](06_lightning_architecture.asciidoc)\n*  [Payment Channels](07_payment_channels.asciidoc)\n*  [Routing on a Network of Payment Channels](08_routing_htlcs.asciidoc)\n*  [Channel Operation and Payment Forwarding](09_channel_operation.asciidoc)\n*  [Onion Routing](10_onion_routing.asciidoc)\n*  [Gossip and the Channel Graph](11_gossip_channel_graph.asciidoc)\n*  [Pathfinding and Payment Delivery](12_path_finding.asciidoc)\n*  [Wire Protocol: Framing and Extensibility](13_wire_protocol.asciidoc)\n*  [Lightning's Encrypted Message Transport](14_encrypted_transport.asciidoc)\n*  [Lightning Payment Requests](15_payment_requests.asciidoc)\n*  [Security and Privacy of the Lightning Network](16_security_privacy_ln.asciidoc)\n*  [Conclusion](17_conclusion.asciidoc)\n\n### Appendices\n\n*  [Bitcoin Fundamentals Review](appendix_bitcoin_fundamentals_review.asciidoc)\n*  [Docker Basics](appendix_docker_basics.asciidoc)\n*  [Protocol Messages](appendix_protocol_messages.asciidoc)\n\n### Glossary\n\n*  [Glossary](glossary.asciidoc)\n\n### Author Bios and Colophon\n\n*  [Author Bios](author_bio.html)\n*  [Colophon](colo.html)\n\n## Creative Commons Attribution Sharealike License\n\nMastering the Lightning Network is released under the Creative Commons CC-BY-SA 4.0 license. The full terms of the license can be found here:\n\n[![CC BY-SA 4.0][cc-by-sa-shield]][cc-by-sa]\n\n\u003Ca rel=\"license\" href=\"http:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-sa\u002F4.0\u002F\">\u003Cimg alt=\"Creative Commons License\" style=\"border-width:0\" src=\"https:\u002F\u002Fi.creativecommons.org\u002Fl\u002Fby-sa\u002F4.0\u002F88x31.png\" \u002F>\u003C\u002Fa>\u003Cbr \u002F>\u003Cspan xmlns:dct=\"http:\u002F\u002Fpurl.org\u002Fdc\u002Fterms\u002F\" href=\"http:\u002F\u002Fpurl.org\u002Fdc\u002Fdcmitype\u002FText\" property=\"dct:title\" rel=\"dct:type\">Mastering the Lightning Network\u003C\u002Fspan> by \u003Cspan xmlns:cc=\"http:\u002F\u002Fcreativecommons.org\u002Fns#\" property=\"cc:attributionName\">Andreas M. Antonopoulos, Olaoluwa Osuntokun, Rene Pickhardt\u003C\u002Fspan> is licensed under a \u003Ca rel=\"license\" href=\"http:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-sa\u002F4.0\u002F\">Creative Commons Attribution-ShareAlike 4.0 International License\u003C\u002Fa>.\u003Cbr \u002F>Based on a work at \u003Ca xmlns:dct=\"http:\u002F\u002Fpurl.org\u002Fdc\u002Fterms\u002F\" href=\"https:\u002F\u002Fgithub.com\u002Flnbook\u002Flnbook\" rel=\"dct:source\">https:\u002F\u002Fgithub.com\u002Flnbook\u002Flnbook\u003C\u002Fa>.\n\nThis \"Free Culture\" compliant license was approved by our publisher O'Reilly Media (http:\u002F\u002Foreilly.com), who understands the value of open source. O'Reilly Media is not just the world's best publisher of technical books, but is also a strong supporter of this open culture and the sharing of knowledge.\n\nThank you O'Reilly Media!\n\n## Translations and Derivatives (eg. PDF, HTML, EPUB ebooks)\n\nThe current license permits derivative work, such as independent translations and the production and circulation of PDF, HTML or other derivative renderings of the source ASCIIDOC. *The license does not extend to O'Reilly Media intellectual property, such as the cover page.*\n\nIf you are interested in translating this book please see [TRANSLATING.md](TRANSLATING.md)\n\n[cc-by-sa]: http:\u002F\u002Fcreativecommons.org\u002Flicenses\u002Fby-sa\u002F4.0\u002F\n[cc-by-sa-image]: https:\u002F\u002Flicensebuttons.net\u002Fl\u002Fby-sa\u002F4.0\u002F88x31.png\n[cc-by-sa-shield]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-CC%20BY--SA%204.0-lightgrey.svg\n","《Mastering the Lightning Network》是一本由O'Reilly Media出版的书籍，旨在全面介绍闪电网络（LN），这是一种基于比特币和其他区块链的点对点协议，能够实现近乎即时、安全的微支付。本书详细解析了闪电网络的工作原理、架构设计、支付通道操作、路由机制及安全性等核心内容，并提供了实践指南如如何搭建和运行节点。适合已经掌握比特币基础技术知识并希望深入了解闪电网络运作机制的技术读者阅读。通过AsciiDoc格式撰写，便于电子化传播与学习。","2026-06-11 03:29:01","top_topic"]