Bitcoin Forum
April 24, 2024, 03:35:46 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Lightning Network simulation  (Read 260 times)
guyhada (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 1


View Profile
April 26, 2019, 10:22:27 AM
Merited by ABCbits (1)
 #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
1713929746
Hero Member
*
Offline Offline

Posts: 1713929746

View Profile Personal Message (Offline)

Ignore
1713929746
Reply with quote  #2

1713929746
Report to moderator
1713929746
Hero Member
*
Offline Offline

Posts: 1713929746

View Profile Personal Message (Offline)

Ignore
1713929746
Reply with quote  #2

1713929746
Report to moderator
Transactions must be included in a block to be properly completed. When you send a transaction, it is broadcast to miners. Miners can then optionally include it in their next blocks. Miners will be more inclined to include your transaction if it has a higher transaction fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
darosior
Sr. Member
****
Offline Offline

Activity: 279
Merit: 435


View Profile
April 26, 2019, 07:32:55 PM
Merited by HeRetiK (1), ABCbits (1)
 #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 .
guyhada (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 1


View Profile
May 05, 2019, 06:52:31 AM
 #3

thanks!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!