Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/dianerey/lnsim

Lightning Network Simulator
https://github.com/dianerey/lnsim

Last synced: 17 days ago
JSON representation

Lightning Network Simulator

Lists

README

        

# lnsim
Lightning Network Simulator

Edit lnsimtop.ml to simulate as many steps as you like.
One payment is attempted for each step.

To compile and run:

ocamlopt -o lnsim.cmx -c lnsim.ml
ocamlopt -o lnsimtop.cmx -c lnsimtop.ml
ocamlopt -o lnsimtop unix.cmxa lnsim.cmx lnsimtop.cmx
./lnsimtop