A Guide to Data Science for the Lightning Network
How Many Nodes and Channels: Covers the basics of the Lightning Network, focusing on counting and analyzing the number of nodes and channels in the network.
Basic Stats: Introduces fundamental statistical analysis of the Lightning Network, covering key metrics and basic data interpretation.
Network Graph: Explores how to create and interpret network graphs of the Lightning Network, visualizing connections between nodes.
Graph Metrics: Delves deeper into specific metrics used to analyze network graphs, such as centrality measures and clustering coefficients.
Pathfinding: Covers algorithms and techniques for finding optimal payment routes through the Lightning Network.
Probing: Discusses methods for probing the Lightning Network to gather information about channel capacities and network topology.
LND API Calls: Focuses on interacting with Lightning Network Daemon (LND) nodes through API calls, demonstrating how to programmatically access network data.
More Visualization: Explores advanced visualization techniques for Lightning Network data, building on the foundations of earlier chapters.
HTLC Analysis: Covers the analysis of Hash Time Locked Contracts (HTLCs), which are fundamental to Lightning Network operations, including patterns in HTLC usage and their implications for network behavior.
Each chapter is represented by a Jupyter notebook, providing a hands-on, code-based approach to learning about Lightning Network analytics.