Skip to content

Latest commit

 

History

History
45 lines (30 loc) · 1.64 KB

README.md

File metadata and controls

45 lines (30 loc) · 1.64 KB

lightning-mpp-simulator

MIT CI codecov dependency status

This is a collection of projects related to simulating payments in the Lightning network.

Each subproject contains a detailed description of the project itself along with usage instructions.

graph-diversity

A binary that does computations on the diversity in the LN channel graph.

network-parser

A library to deserialise the channel graphs provided by either LND or lnresearch.

simulator

A library and binary that use the network-parser to read the JSON files and simulate payments in the LN. The library implements routing and payment splitting logic and can be used as follows.

lightning-simulator = {git = "https://github.com/tud-dud/lightning-mpp-simulator"}
use simlib::*;

Build

Build all members of the project:

cargo build --release

Simulation results

We maintain interactive charts with simulation results at https://tud-dud.github.io/lightning-mpp-simulator/.