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.
A binary that does computations on the diversity in the LN channel graph.
A library to deserialise the channel graphs provided by either LND or lnresearch.
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 all members of the project:
cargo build --release
We maintain interactive charts with simulation results at https://tud-dud.github.io/lightning-mpp-simulator/.