Author

Topic: Lightning Network simulation (Read 288 times)

brand new
Activity: 0
Merit: 0
May 20, 2019, 06:19:09 AM
#4
I'm trying to think on autopilot strategies, and my first step was to look for some simulation environment.

The only thing I could find is CLoTH (https://arxiv.org/pdf/1812.09940.pdf psiphon) but I don't think they released the code or planning to do it.
Is there any other simulation for lightning network?
if not, how do one tests ideas for autopilot strategies?

Thanks

Hi,

you can use the "NodeFactory" class from the C-Lightning test suite, setting up Bitcoin regtest nodes and LN nodes on top of it : https://github.com/ElementsProject/lightning/blob/f82e779f710da46fa7f19bcf61d1cd7f399e9c5e/tests/utils.py#L701 .

Excellent tutorial and very well explained!
newbie
Activity: 2
Merit: 1
May 05, 2019, 01:52:31 AM
#3
thanks!
sr. member
Activity: 279
Merit: 435
April 26, 2019, 02:32:55 PM
#2
I'm trying to think on autopilot strategies, and my first step was to look for some simulation environment.

The only thing I could find is CLoTH (https://arxiv.org/pdf/1812.09940.pdf) but I don't think they released the code or planning to do it.
Is there any other simulation for lightning network?
if not, how do one tests ideas for autopilot strategies?

Thanks

Hi,

you can use the "NodeFactory" class from the C-Lightning test suite, setting up Bitcoin regtest nodes and LN nodes on top of it : https://github.com/ElementsProject/lightning/blob/f82e779f710da46fa7f19bcf61d1cd7f399e9c5e/tests/utils.py#L701 .
newbie
Activity: 2
Merit: 1
April 26, 2019, 05:22:27 AM
#1
I'm trying to think on autopilot strategies, and my first step was to look for some simulation environment.

The only thing I could find is CLoTH (https://arxiv.org/pdf/1812.09940.pdf) but I don't think they released the code or planning to do it.
Is there any other simulation for lightning network?
if not, how do one tests ideas for autopilot strategies?

Thanks
Jump to: