Skip to main content
QUICK REVIEW

[Paper Review] Flow: Separating Consensus and Compute -- Block Formation and Execution

Alexander Hentschel, Yahya Hassanzadeh-Nazarabadi|arXiv (Cornell University)|Feb 18, 2020
Blockchain Technology Applications and SecurityComputer Science12 references10 citations
TL;DR

This paper proposes Flow, a pipelined blockchain architecture that separates consensus on transaction order from transaction execution by assigning specialized roles to heterogeneous nodes—Collectors, Consensus, Execution, and Verification Nodes. By decoupling consensus from computation, Flow achieves a 56x throughput improvement over homogeneous blockchains while maintaining strong safety and liveness guarantees through verifiable execution and slashing mechanisms for faulty behavior.

ABSTRACT

Most current blockchains require all full nodes to execute all tasks limits the throughput of existing blockchains, which are well documented and among the most significant hurdles for the widespread adoption of decentralized technology. This paper extends out presentation of Flow, a pipelined blockchain architecture, which separates the process of consensus on the transaction order from transaction computation. As we experimentally showed in our previous white paper, our architecture provides a significant throughput improvement while preserving the security of the system. Flow exploits the heterogeneity offered by the nodes, in terms of bandwidth, storage, and computational capacity, and defines the roles for the nodes based on their tasks in the pipeline, i.e., Collector, Consensus, Execution, and Verification. While transaction collection from the user agents is completed through the bandwidth-optimized Collector Nodes, the execution of them is done by the compute-optimized Execution Nodes. Checking the execution result is then distributed among a more extensive set of Verification Nodes, which confirm the result is correct in a distributed and parallel manner. In contrast to more traditional blockchain architectures, Flow's Consensus Nodes do not execute the transaction. Instead, Verification Nodes report observed faulty executions to the Consensus Nodes, which adjudicate the received challenges and slash malicious actors. In this paper, we detail the lifecycle of the transactions from the submission to the system until they are getting executed. The paper covers the Collector, Consensus, and Execution role. We provide a protocol specification of collecting the transactions, forming a block, and executing the resulting block. Moreover, we elaborate on the safety and liveness of the system concerning these processes.

Motivation & Objective

  • Address the throughput bottleneck in traditional blockchains caused by requiring all full nodes to perform consensus, execution, and transaction collection.
  • Enable high-throughput blockchain scaling by exploiting node heterogeneity in bandwidth, storage, and computational capacity.
  • Preserve system security and decentralization by decoupling subjective (consensus-dependent) and objective (deterministic) operations.
  • Ensure fault tolerance and detectability of malicious behavior through verifiable execution and slashing challenges.
  • Achieve liveness and safety even with Byzantine nodes by leveraging distributed verification and consensus adjudication.

Proposed method

  • Assign distinct roles: Collector Nodes handle transaction collection via bandwidth-optimized communication; Consensus Nodes finalize block order without executing transactions.
  • Execution Nodes perform deterministic transaction execution in parallel, producing execution receipts with cryptographic proofs (SPoCK).
  • Verification Nodes validate execution results in a distributed, parallel manner by checking randomly sampled chunks of execution traces.
  • Use HotStuff-based consensus for block finalization, with Consensus Nodes adjudicating slashing challenges from Verifiers.
  • Introduce a source of randomness via a distributed random beacon (DRB) to prevent predictability in node selection and block formation.
  • Apply a chunked execution model where each block is divided into chunks, and execution traces are cryptographically committed and verified incrementally.

Experimental results

Research questions

  • RQ1Can a blockchain achieve significantly higher throughput by decoupling consensus from execution while preserving security and decentralization?
  • RQ2How can heterogeneous node capabilities (bandwidth, compute, storage) be effectively exploited in a secure and scalable blockchain architecture?
  • RQ3What mechanisms ensure safety and liveness when execution is performed by a small number of specialized nodes and verified by a larger set of verifiers?
  • RQ4How can faulty execution results be detected with high probability and slashed effectively in a decentralized system?
  • RQ5What role does a distributed random beacon play in securing the block formation process and preventing adversarial manipulation?

Key findings

  • Flow achieves a 56x throughput improvement over homogeneous blockchain architectures by separating consensus and execution workloads.
  • The system maintains strong safety: even with up to n−1 Byzantine Execution Nodes, a faulty execution result is sealed with probability at most 1−ε, where ε≤10−12 for tuned system parameters.
  • Liveness is guaranteed as long as at least one honest Execution Node is available, ensuring execution receipts are eventually generated.
  • Faulty computation results are detected and challenged by Verification Nodes with overwhelming probability, enabling effective slashing of malicious actors.
  • Byzantine clusters are mitigated through detectability and attributability: faulty collectors are slashed, and missing collections trigger challenges for adjudication.
  • The use of SPoCK (Specialized Proof of Confidential Knowledge) enables efficient, verifiable, and accountable execution with minimal trust assumptions.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.