

Image source: Block Media
Coinbase's Layer 2 Network Base Optimizes Block Time with Flashblocks: A Technical Deep Dive
Coinbase's Layer 2 network, Base, has significantly advanced blockchain scalability by publishing a detailed technical report on its groundbreaking Flashblocks system. Released on November 9, the report outlines a dramatic tenfold reduction in block creation time—from two seconds to just 200 milliseconds—achieved through innovative architectural changes. This milestone, implemented on the Base mainnet on July 16, illustrates the network's commitment to enhancing transaction throughput and responsiveness for its users and developers alike.
The report provides key insights into the mechanics of Flashblocks, the four-month-long development process, and the challenges overcome to introduce this system. It also elaborates on how this enhancement supports real-time applications while maintaining blockchain stability, offering a glimpse into the cutting-edge tech shaping Layer 2 scalability.
How Flashblocks Redefines Block Creation
At the heart of Flashblocks lies the redesign of the traditional two-second block creation cycle. Instead of generating a single block every two seconds, the system introduces ten smaller “sub-blocks” within that timeframe. These sub-blocks are streamed in real-time, allowing near-instantaneous transaction preconfirmations. Users and decentralized applications benefit from faster responsiveness without needing to wait for full block settlements, enabling seamless interaction with blockchain-based systems.
Each sub-block is designed to progressively consume more gas as block space fills up, ensuring consistent performance under high transaction loads. By enabling streaming sub-blocks, Flashblocks innovates on conventional block design, paving the way for more efficient transaction handling processes and supporting latency-sensitive applications on the blockchain.
Integration of Core Innovations into Base's Sequencer System
To seamlessly implement Flashblocks, Base integrated four novel components into its existing sequencer system:
-
Rollup-Boost Proxy:
Acting as an intermediary between the consensus and execution layers, this module facilitates safe experimentation with external builder functionalities. It allows integration without altering the underlying OP stack, making it ideal for further development and scalability enhancements. -
Op-Rbuilder:
A powerful external builder tasked with real-time generation of 200ms sub-blocks. This mechanism introduces elasticity into block construction, enabling advanced methodologies such as MEV (maximum extractable value) strategies and builder auctions to thrive within the system. -
WebSocket Proxy:
This broadcasting layer streams Flashblocks data to a vast user base, ensuring consistent delivery and reducing the operational workload of builders. It is key to maintaining stability during high-frequency data dissemination. -
Node-Reth:
Responsible for converting streamed sub-blocks into standardized RPC (Remote Procedure Call) response formats. Node-Reth ensures compatibility with existing wallet providers and developer tools, enabling them to query preconfirmation statuses without requiring systemic adjustments.
Tackling Development Challenges
The report candidly discusses the complex technical hurdles encountered during the creation and deployment of Flashblocks. The team overcame these obstacles through meticulous engineering and iterative improvements:
-
Maintaining Stability with External Builders:
The introduction of external builders posed risks to system stability. To address this, Base developed op-conductor, a synchronization tool that periodically monitors builder status. If disruptions arise, op-conductor swiftly shifts leadership to a new sequencer node, ensuring uninterrupted functionality. -
Performance Bottlenecks in State Root Calculation:
Generating state roots for every sub-block initially introduced delays, averaging 130 milliseconds due to high transaction throughput. The solution was to redesign the architecture so external builders only transmitted raw transaction lists, leaving state root calculations to Rollup-Boost via the established op-geth system. This refinement slashed generation time to just 10 milliseconds. -
Missed Transactions During Builder Switches:
Transitioning from Geth-based to Reth-based builders triggered inconsistencies in transaction pool policies, leading to occasional missed transactions. To resolve this, Base engineered a mempool re-broadcaster, which detects missing transactions and retransmits them to ensure complete network reliability. -
Minimizing Reorganizations Caused by Sub-block Streams:
Early in development, frequent reorganizations occurred when streamed sub-blocks were excluded from finalized blocks. The team optimized data flow mechanisms to reduce the reorganization rate to near-zero levels, preserving stream integrity and consistency.
Future Directions for Flashblocks and Base
Looking ahead, Base has outlined ambitious plans to continually refine and enhance the Flashblocks ecosystem:
-
Upgraded RPC Calls:
Upcoming improvements to eth_call and eth_estimateGas will incorporate Flashblocks preconfirmation statuses, enhancing their utility for both developers and applications relying on precise transaction data. -
High-Availability WebSocket Infrastructure:
Base aims to bolster its WebSocket-based broadcasting layer, ensuring robust scalability and minimal downtime during periods of high demand. -
Ecosystem Expansions:
The team will also continue iterating on surrounding blockchain tools and integrations to leverage Flashblocks for an optimized Layer 2 experience.
By doubling down on innovation and usability, Base is firmly positioning itself as a leader in Layer 2 scalability solutions, enabling faster, more secure, and user-friendly blockchain interactions.
Related Articles
For more breaking news and expert insights, follow us on Telegram.