Skip to content

tud-dud/lightning-mpp-simulator

Repository files navigation

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