Merger
StreamingFast Firehose Merger component
How Merger Works
┌─────────────────────────────────────────────────────────────────────────┐
│ Merger Component │
│ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ One-Block Storage Poller │ │
│ │ (continuously polls for new one-block files) │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌───────────────────────────────────────────────────────────────────┐ │
│ │ Bundler │ │
│ │ • Accumulates blocks until bundle boundary (100 blocks) │ │
│ │ • Validates sequential block ordering │ │
│ │ • Tracks forked blocks within current range │ │
│ └───────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ┌───────────────┼───────────────┐ │
│ ▼ ▼ ▼ │
│ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │
│ │ Merged │ │ Forked │ │ One-Block │ │
│ │ Blocks │ │ Blocks │ │ Pruner │ │
│ │ Storage │ │ Storage │ │ (cleanup) │ │
│ └─────────────┘ └─────────────┘ └─────────────┘ │
└─────────────────────────────────────────────────────────────────────────┘Bundling Process
Fork Handling
Retry Logic
Bundle Size
Pruning Operations
Storage Access
One-Block Storage (Input)
Merged Blocks Storage (Output)
Forked Blocks Storage
Multiple Readers
Configuration Reference
Last updated
Was this helpful?
