Mangrove: Fast and Parallelizable State Replication for Blockchains

Anton Paramonov, Yann Vonlanthen, Quentin Kniep, Jakub Sliwinski, Roger WattenhoferarXiv 2025 · DOI

Introduction

The "scalability trilemma" remains a central challenge in blockchain research. Traditional monolithic architectures, such as Bitcoin or Ethereum, require all validators to agree on a single, global total order for every transaction. This requirement creates a significant bottleneck, as the network's throughput is limited by the processing capacity of a single sequence. While sharding and consensus-less systems offer alternatives, they often sacrifice cross-shard performance or the ability to handle complex, stateful smart contracts.

Mangrove introduces a novel architecture that achieves massive scalability by replacing the global total order with separate consensus instances for every individual smart contract. By leveraging a new primitive called Parallel Optimistic Agreement (POA), Mangrove provides the high-speed parallelism of consensus-less systems while maintaining full support for general-purpose smart contracts with optimal two-step latency.

System Design: The Replicated Actor Model

Mangrove's core is the Replicated Actor Model, which categorizes participants into two types: User Actors (equivalent to externally owned accounts) and Reactive Actors (equivalent to smart contracts). Instead of a single global consensus engine, Mangrove employs Parallel Optimistic Agreement (POA), where every smart contract effectively operates in its own "lane" for consensus.

Figure 2: Transaction flow from a user to a specific smart contract's POA instance across multiple validators.

As illustrated in Figure 2, when a user initiates a transaction, it is broadcast to validators who then propose it to the specific POA instance associated with the target smart contract. This localization of consensus allows the system to scale horizontally; adding more hardware or validators directly increases total network throughput because congestion on one contract does not affect others.

The Parallel Optimistic Agreement (POA) Protocol

The POA protocol is designed to be aggressive in the common case while remaining robust under adversarial conditions. It operates on two distinct tracks:

  • The Fast Path: Under optimistic conditions—characterized by honest leaders, a synchronous network, and no double-spending attempts—a transaction is committed in just two communication steps ($2\delta$).
  • The Slow Path: If the fast path fails due to network asynchrony or leader misbehavior, the system falls back to a "Quorum Consensus" and "Transaction Agreement" mechanism. This ensures that the system maintains safety and liveness without forking.
Figure 3: The POA protocol phases, highlighting the fast path (Propose/Vote) and the fallback slow path (Quorum Consensus/Transaction Agreement).

To prevent double-spending across parallel instances without a global clock, Mangrove utilizes a Wait-Free Locking mechanism. Validators locally lock sequence numbers to specific transactions, ensuring that conflicting attempts to spend the same funds are identified even if directed at different smart contracts.

Key Insights and Results

Mangrove's design yields several critical advantages:

  • Local Consensus: Agreement is only required for transactions affecting a specific piece of state, rather than the entire network. This reduces the execution bottleneck from the total number of transactions to the maximum number of transactions per individual contract.
  • Optimal Latency and Resilience: The protocol achieves a latency of 2 communication steps for most transactions, matching theoretical lower bounds. It also maintains Byzantine fault tolerance with $n \ge 3f + 2p + 1$ validators (where $f$ is the number of failures and $p$ is the number of failures the fast path can tolerate).
  • Retroactive Conflict Resolution: In the "slow path," Mangrove uses a "Transaction Agreement" primitive after a block is decided, allowing the system to be fast in the common case while reliably pruning conflicting transactions.

Conclusion

While Mangrove offers a path toward limitless parallelization, it introduces higher message complexity. Furthermore, deep cascades of contract calls may require sequential agreement steps, potentially impacting the performance of complex multi-contract interactions. Future work will focus on empirical evaluations in live environments to measure performance under real-world workloads, such as high-frequency trading and atomic "flash loan" transactions.

Summary updated

BibTeX
@misc{paramonov2025mangrove,
  author = {Anton Paramonov and Yann Vonlanthen and Quentin Kniep and Jakub Sliwinski and Roger Wattenhofer},
  title = {{Mangrove: Fast and Parallelizable State Replication for Blockchains}},
  year = {2025},
  eprint = {2509.06616},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.06616},
}
Figure