Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 2.03 KB

README.md

File metadata and controls

35 lines (18 loc) · 2.03 KB

No-BS-LightningAnalytics

A Guide to Data Science for the Lightning Network

What will you get

  1. You will gain exposure to areas of application for data science in the Lightning Network
  2. You will have access to a set of code and gossip data; you can run the code to see the application of these concepts
  3. You will interact with mempool and Blockstream APIs to explore the data they expose. You will have code and sample output from LND API.

Book Cover

Chapter Structure

  1. 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.

  2. Basic Stats: Introduces fundamental statistical analysis of the Lightning Network, covering key metrics and basic data interpretation.

  3. Network Graph: Explores how to create and interpret network graphs of the Lightning Network, visualizing connections between nodes.

  4. Graph Metrics: Delves deeper into specific metrics used to analyze network graphs, such as centrality measures and clustering coefficients.

  5. Pathfinding: Covers algorithms and techniques for finding optimal payment routes through the Lightning Network.

  6. Probing: Discusses methods for probing the Lightning Network to gather information about channel capacities and network topology.

  7. LND API Calls: Focuses on interacting with Lightning Network Daemon (LND) nodes through API calls, demonstrating how to programmatically access network data.

  8. More Visualization: Explores advanced visualization techniques for Lightning Network data, building on the foundations of earlier chapters.

  9. 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.