Synchro: Block-generation Protocol to Synchronously Process Cross-shard Transactions in State Sharding

09/04/2023
by   Takaki Asanuma, et al.
0

Traditional blockchains cannot achieve the same transaction throughput as Web2, so their use cases are limited. Therefore, state sharding has been proposed to improve transaction throughput by dividing the blockchain network and managing states and transactions in parallel. However, Nightshade in the NEAR Protocol, a type of state sharding, provides a rollback protocol to cancel the generation of blocks containing inconsistent transaction results because processing cross-shard transactions (CSTXs) in a 2-phase commit may cause state inconsistency. We present a new attack that interferes with the generation of new blocks by repeatedly executing CSTXs that certainly causes state inconsistency, causing continuous rollback. We also propose a block-generation protocol called Synchro to incorporate all the state changes of each CSTX into the same block by coordinating the block prior to approving transactions in each shard. Synchro eliminates the occurrence of the state inconsistency caused by the CSTXs and the necessity of the rollback protocol. We use zero-knowledge proof to make Synchro scalable in the global validation phase. Although the actual overhead of the zero-knowledge proof has not yet been evaluated, we show that Synchro could achieve the same transaction throughput as Nightshade theoretically, depending on the future innovations in zero-knowledge proof techniques.

READ FULL TEXT
research
10/15/2019

Hydra: A Multiple Blockchain Protocol for Improving Transaction Throughput

Improving transaction throughput is one of the main challenges in decent...
research
08/25/2018

StreamChain: Do Blockchains Need Blocks?

Processing at block granularity and blockchains seem inseparable. The or...
research
09/02/2021

DAG-Oriented Protocols PHANTOM and GHOSTDAG under Incentive Attack via Transaction Selection Strategy

In response to the bottleneck of processing throughput inherent to singl...
research
07/20/2023

TransNFV: Integrating Transactional Semantics for Efficient State Management in Virtual Network Functions

Managing shared mutable states in high concurrency state access operatio...
research
07/27/2021

Cross-Referencing Method for Scalable Public Blockchain

We previously proposed a cross-referencing method for enabling multiple ...
research
04/14/2021

Blockchain Machine: A Network-Attached Hardware Accelerator for Hyperledger Fabric

In this paper, we demonstrate how Hyperledger Fabric, one of the most po...
research
03/29/2023

SREP: Out-Of-Band Sync of Transaction Pools for Large-Scale Blockchains

Synchronization of transaction pools (mempools) has shown potential for ...

Please sign up or login with your details

Forgot password? Click here to reset