Lightning: BOLTs in a flash
How does lightning work? Come dig deep into the spec protocol with a lightning spec expert. We’ll learn how channels are opened, how payments are made and accounted for, how force-closes work, what onions are, and how the routing table is built across the network with gossip. Experts only.
In this intense, 3-day in-person class, we’ll walk through the Lightning BOLTs using a Core Lightning node and the Lightning Plugin interface.
BOLTing it Together
This class will give you an overview of the Lightning BOLT specs: what they cover, how Lightning contracts work, how payments move through Lightning, and how nodes hide and reveal themselves via gossip.
Code in Lightning
We’ll use Lightning Plugins to manually HODL invoices, build onions for routes, and understand gossip messages.
By the end of this class, you should be familiar with basic Core Lightning RPCs, have written a few plugins for Core Lightning, and be well versed in how payments, channel opens + closes, and the gossip network function.
Exercises in this class will be in Python using Replit.
What to know before class (pre-requisites)
You must have a strong understanding of Bitcoin transaction basics, such as:
- Outputs + Inputs
- Transaction Fees
These topics are covered in our flagship Transactions Deep Dive class.