OptSmart: A Space Efficient Optimistic Concurrent Execution of Smart Contracts
Preprint
Abstract
Popular blockchains such as Ethereum and several others execute complex transactions in blocks 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 the AUs concurrently using optimistic Software Transactional Memory systems (STMs). It captures the independent AUs in a concurrent bin and dependent AUs in the block graph (BG) efficiently. Later, we propose a concurrent validator that re-executes the same AUs concurrently and deterministically using a concurrent bin followed by a BG given by the miner to verify the proposed block. We rigorously prove the correctness of concurrent execution of AUs and achieve significant performance gain over the state-of-the-art.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Efficient Concurrent Execution of Smart Contracts in Blockchains Using Object-Based Transactional Memory2021
- An Efficient Framework for Optimistic Concurrent Execution of Smart Contracts2019
- Efficient Means of Achieving Composability Using Object Based Semantics in Transactional Memory Systems2019
- Non-interference and local correctness in transactional memoryTheoretical Computer Science, 2017
- A TimeStamp Based Multi-version STM Algorithm2014
- Formalizing and Securing Relationships on Public NetworksFirst Monday, 1997
- Linearizability: a correctness condition for concurrent objectsACM Transactions on Programming Languages and Systems, 1990
- The serializability of concurrent database updatesJournal of the ACM, 1979