Span batches are an important feature that optimize batch processing within the chain. This section provides an overview of span batches, instructions on how to enable them, and links to detailed design documents.Documentation Index
Fetch the complete documentation index at: https://docs.optimism.io/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Span batches allow for efficient processing of multiple batches in a single operation, reducing overhead and improving performance. By grouping transactions together, span batches can help optimize the throughput of the network.Enabling span batches
To enable span batches, follow these steps:-
Configuration:
- Locate your chain configuration file.
- Add or update the following settings to enable span batches:
-
Deploy:
- After updating the configuration, redeploy your chain node to apply the changes.
-
Verify:
- Check the logs to ensure that span batches are enabled and functioning correctly.
- You should see log entries indicating that batches are being processed according to the configured settings.