Expand description
Block watcher service implementation.
This module provides functionality to watch and process blockchain blocks across different networks. It includes:
- Block watching service for multiple networks
- Block storage implementations
- Error handling specific to block watching operations
- Missed block recovery functionality
Structs§
- Block
Tracker - BlockTracker is responsible for monitoring the sequence of processed blocks across different networks and identifying any gaps or irregularities in block processing.
- Block
Watcher Service - Service for managing multiple network watchers
- File
Block Storage - File-based implementation of block storage
- Missed
Block Entry - Entry tracking a missed block with recovery metadata
- Network
Block Watcher - Watcher implementation for a single network
- Recovery
Result - Result of a recovery job execution
Enums§
- Block
Check Result - Result of checking a processed block for issues
- Block
Watcher Error - Represents possible errors that can occur during block watching operations
- Missed
Block Status - Status of a missed block entry
Traits§
- Block
Storage - Interface for block storage implementations
- Block
Tracker Trait - Trait for the BlockTracker
- JobScheduler
Trait - Trait for job scheduler
Functions§
- process_
missed_ blocks - Processes missed blocks for recovery
- process_
new_ blocks - Processes new blocks for a network