Content area

Abstract

Popular blockchains such as Ethereum and several others execute complex transactions in the block through user-defined scripts known as smart contracts. Serial execution of smart contract transactions/atomic units (AUs) fails to harness the multiprocessing power offered by the prevalence of multi-core processors. By adding concurrency to the execution of AUs, we can achieve better efficiency and higher throughput. In this paper, we develop a concurrent miner that proposes a block by executing AUs concurrently using optimistic Software Transactional Memory systems (STMs). It efficiently captures independent AUs in the concurrent bin and dependent AUs in the block graph (BG). Later, we propose a concurrent validator that re-executes the same AUs concurrently and deterministically using the concurrent bin followed by the BG given by the miner to verify the block. We rigorously prove the correctness of concurrent execution of AUs. The performance benchmark shows that the average speedup for the optimized concurrent miner is 5.21×, while the maximum is 14.96× over the serial miner. The optimized validator obtains an average speedup of 8.61× to a maximum of 14.65× over the serial validator. The proposed miner outperforms 1.02× to 1.18×, while the proposed validator outperforms 1× to 4.46× over state-of-the-art concurrent miners and validators, respectively. Moreover, the proposed efficient BG saves an average of 2.29× more block space when compared with the state-of-the-art.

Details

Business indexing term
Title
OptSmart: a space efficient Optimistic concurrent execution of Smart contracts
Author
Anjana, Parwat Singh 1   VIAFID ORCID Logo  ; Kumari, Sweta 2 ; Peri, Sathya 1 ; Rathor, Sachin 1 ; Somani, Archit 2 

 Indian Institute of Technology Hyderabad, Department of CSE, Telangana, India (GRID:grid.459612.d) (ISNI:0000 0004 1767 065X) 
 Technion, Department of Computer Science, Haifa, Israel (GRID:grid.6451.6) (ISNI:0000 0001 2110 2151) 
Publication title
Volume
42
Issue
2
Pages
245-297
Publication year
2024
Publication date
Jun 2024
Publisher
Springer Nature B.V.
Place of publication
New York
Country of publication
Netherlands
ISSN
09268782
e-ISSN
15737578
Source type
Scholarly Journal
Language of publication
English
Document type
Journal Article
Publication history
 
 
Online publication date
2022-05-09
Milestone dates
2022-04-21 (Registration); 2022-04-08 (Accepted)
Publication history
 
 
   First posting date
09 May 2022
ProQuest document ID
3255419893
Document URL
https://www.proquest.com/scholarly-journals/optsmart-space-efficient-optimistic-concurrent/docview/3255419893/se-2?accountid=208611
Copyright
© The Author(s), under exclusive licence to Springer Science+Business Media, LLC, part of Springer Nature 2022.
Last updated
2025-09-29
Database
ProQuest One Academic