CLoTH: A Lightning Network Simulator

Payment-channel networks are one of the most promising solution to the well-known issue of blockchain scalability. In this work we present CLoTH, a simulator of the Lightning Network — the mainstream payment-channel network, used in Bitcoin. CLoTH simulates the execution of payments in a payment-cha...

Full description

Bibliographic Details
Main Authors: Marco Conoscenti, Antonio Vetrò, Juan Carlos De Martin
Format: Article
Language:English
Published: Elsevier 2021-07-01
Series:SoftwareX
Subjects:
Online Access:http://www.sciencedirect.com/science/article/pii/S2352711021000613
id doaj-4a1aaf675ef24e9480a2b99baa9319e9
record_format Article
spelling doaj-4a1aaf675ef24e9480a2b99baa9319e92021-06-07T06:52:27ZengElsevierSoftwareX2352-71102021-07-0115100717CLoTH: A Lightning Network SimulatorMarco Conoscenti0Antonio Vetrò1Juan Carlos De Martin2Corresponding author.; Nexa Center for Internet & Society (DAUIN), Politecnico di Torino, Corso Duca Degli Abruzzi, 24, Torino, ItalyNexa Center for Internet & Society (DAUIN), Politecnico di Torino, Corso Duca Degli Abruzzi, 24, Torino, ItalyNexa Center for Internet & Society (DAUIN), Politecnico di Torino, Corso Duca Degli Abruzzi, 24, Torino, ItalyPayment-channel networks are one of the most promising solution to the well-known issue of blockchain scalability. In this work we present CLoTH, a simulator of the Lightning Network — the mainstream payment-channel network, used in Bitcoin. CLoTH simulates the execution of payments in a payment-channel network and produces performance measures such as the probability of payment success and the average payment time. To the best of our knowledge, CLoTH is the only simulator that faithfully reproduces the Lightning Network code functions, and this ensures the reliability of simulation results. In this work we provide a detailed description of the new, refactored, publicly-usable version of CLoTH, and we show simulations on the multi-path-payment feature, a recent Lightning Network feature that aims to minimize payment failures.http://www.sciencedirect.com/science/article/pii/S2352711021000613Lightning NetworkBitcoinBlockchainPayment-channel networksScalabilitySimulator
collection DOAJ
language English
format Article
sources DOAJ
author Marco Conoscenti
Antonio Vetrò
Juan Carlos De Martin
spellingShingle Marco Conoscenti
Antonio Vetrò
Juan Carlos De Martin
CLoTH: A Lightning Network Simulator
SoftwareX
Lightning Network
Bitcoin
Blockchain
Payment-channel networks
Scalability
Simulator
author_facet Marco Conoscenti
Antonio Vetrò
Juan Carlos De Martin
author_sort Marco Conoscenti
title CLoTH: A Lightning Network Simulator
title_short CLoTH: A Lightning Network Simulator
title_full CLoTH: A Lightning Network Simulator
title_fullStr CLoTH: A Lightning Network Simulator
title_full_unstemmed CLoTH: A Lightning Network Simulator
title_sort cloth: a lightning network simulator
publisher Elsevier
series SoftwareX
issn 2352-7110
publishDate 2021-07-01
description Payment-channel networks are one of the most promising solution to the well-known issue of blockchain scalability. In this work we present CLoTH, a simulator of the Lightning Network — the mainstream payment-channel network, used in Bitcoin. CLoTH simulates the execution of payments in a payment-channel network and produces performance measures such as the probability of payment success and the average payment time. To the best of our knowledge, CLoTH is the only simulator that faithfully reproduces the Lightning Network code functions, and this ensures the reliability of simulation results. In this work we provide a detailed description of the new, refactored, publicly-usable version of CLoTH, and we show simulations on the multi-path-payment feature, a recent Lightning Network feature that aims to minimize payment failures.
topic Lightning Network
Bitcoin
Blockchain
Payment-channel networks
Scalability
Simulator
url http://www.sciencedirect.com/science/article/pii/S2352711021000613
work_keys_str_mv AT marcoconoscenti clothalightningnetworksimulator
AT antoniovetro clothalightningnetworksimulator
AT juancarlosdemartin clothalightningnetworksimulator
_version_ 1721392164558077952