Blockchains commonly employ tree data structures (e.g., Merkle trees) to represent state. While tree structures enable fast and compact state correctness checks, they introduce constraints when it comes to parallelizing transaction execution. In particular, concurrent transaction execution can lead to multiple trees representing the same state, hindering consensus among blockchain peers. We characterize this phenomenon as the ambiguous state representation problem and propose an optimistic algorithm that guarantees the creation of the same state tree across multiple peers. We integrated our solution into Cosmos SDK framework, a popular production blockchain system, allowing applications to benefit from parallel transaction execution without modifying their existing codebase. We report on the performance of parallel transaction execution under a variety of conditions in a network of up to 40 peers.

Parallel Transaction Execution in Blockchain and the Ambiguous State Representation Problem / Capocasale, Vittorio; Pedone, Fernando; Perboli, Guido. - (2024), pp. 131-138. (Intervento presentato al convegno 19th European Dependable Computing Conference (EDCC) tenutosi a Leuven (BEL) nel 08-11 April 2024) [10.1109/edcc61798.2024.00035].

Parallel Transaction Execution in Blockchain and the Ambiguous State Representation Problem

Capocasale, Vittorio;Perboli, Guido
2024

Abstract

Blockchains commonly employ tree data structures (e.g., Merkle trees) to represent state. While tree structures enable fast and compact state correctness checks, they introduce constraints when it comes to parallelizing transaction execution. In particular, concurrent transaction execution can lead to multiple trees representing the same state, hindering consensus among blockchain peers. We characterize this phenomenon as the ambiguous state representation problem and propose an optimistic algorithm that guarantees the creation of the same state tree across multiple peers. We integrated our solution into Cosmos SDK framework, a popular production blockchain system, allowing applications to benefit from parallel transaction execution without modifying their existing codebase. We report on the performance of parallel transaction execution under a variety of conditions in a network of up to 40 peers.
2024
979-8-3503-6068-4
File in questo prodotto:
File Dimensione Formato  
aaa_main.pdf

accesso aperto

Tipologia: 2. Post-print / Author's Accepted Manuscript
Licenza: PUBBLICO - Tutti i diritti riservati
Dimensione 946.91 kB
Formato Adobe PDF
946.91 kB Adobe PDF Visualizza/Apri
Parallel_Transaction_Execution_in_Blockchain_and_the_Ambiguous_State_Representation_Problem.pdf

non disponibili

Tipologia: 2a Post-print versione editoriale / Version of Record
Licenza: Non Pubblico - Accesso privato/ristretto
Dimensione 1.02 MB
Formato Adobe PDF
1.02 MB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

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/11583/2989790