Fourteen years after its inception, the Bitcoin market capitalization exceeds 700 trillion. As Bitcoin blockchain continues gaining tremendous interest, it is vital evaluating Bitcoin protocol performance. In this context, the BlockSim simulation framework is among the current state-of-the-art tools. Despite that, the BlockSim model of the Bitcoin protocol shows two main limitations: i) at the consensus layer, the model does not account for Segregated Witness (SegWit) upgrade, which sensibly improves the Bitcoin throughput; and ii) at the network layer, the simulated block propagation process is oversimplified. Those limitations affect several blockchain performance metrics, like throughput, orphan block rate and mining reward per block. In this work we improve the existing BlockSim model of the Bitcoin protocol. Namely, we introduce SegWit support, and we update the simulated block propagation process. Block propagation delay is now estimated via linear regression on a per-simulated-block basis. We also extensively validate the proposed model within the light simulation technique of BlockSim. The results show that the model correctly simulates the current Bitcoin blockchain. As to the full simulation technique of BlockSim, it actually turns out to be so inefficient to be unpractical. We experimentally prove the performance limitations of the full technique, thereby confirming the original claims regarding its inefficiency. Yet, we provide suggestions to improve execution time and memory footprint, corroborated by profiling results.

SegWit Extension and Improvement of the BlockSim Bitcoin Simulator

Basile M.
;
Nardini G.;Perazzo P.;Dini G.
2022-01-01

Abstract

Fourteen years after its inception, the Bitcoin market capitalization exceeds 700 trillion. As Bitcoin blockchain continues gaining tremendous interest, it is vital evaluating Bitcoin protocol performance. In this context, the BlockSim simulation framework is among the current state-of-the-art tools. Despite that, the BlockSim model of the Bitcoin protocol shows two main limitations: i) at the consensus layer, the model does not account for Segregated Witness (SegWit) upgrade, which sensibly improves the Bitcoin throughput; and ii) at the network layer, the simulated block propagation process is oversimplified. Those limitations affect several blockchain performance metrics, like throughput, orphan block rate and mining reward per block. In this work we improve the existing BlockSim model of the Bitcoin protocol. Namely, we introduce SegWit support, and we update the simulated block propagation process. Block propagation delay is now estimated via linear regression on a per-simulated-block basis. We also extensively validate the proposed model within the light simulation technique of BlockSim. The results show that the model correctly simulates the current Bitcoin blockchain. As to the full simulation technique of BlockSim, it actually turns out to be so inefficient to be unpractical. We experimentally prove the performance limitations of the full technique, thereby confirming the original claims regarding its inefficiency. Yet, we provide suggestions to improve execution time and memory footprint, corroborated by profiling results.
2022
978-1-6654-6104-7
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11568/1157861
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 3
  • ???jsp.display-item.citation.isi??? 2
social impact