Module blockwatcher

Source
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

Structs§

BlockTracker
BlockTracker is responsible for monitoring the sequence of processed blocks across different networks and identifying any gaps or irregularities in block processing.
BlockWatcherService
Service for managing multiple network watchers
FileBlockStorage
File-based implementation of block storage
NetworkBlockWatcher
Watcher implementation for a single network

Enums§

BlockWatcherError
Represents possible errors that can occur during block watching operations

Traits§

BlockStorage
Interface for block storage implementations
BlockTrackerTrait
Trait for the BlockTracker
JobSchedulerTrait
Trait for job scheduler

Functions§

process_new_blocks
Processes new blocks for a network