reth_exex/event.rs
1use alloy_eips::BlockNumHash;
2
3/// Events emitted by an `ExEx`.
4#[derive(Debug, Clone, Copy, PartialEq, Eq)]
5pub enum ExExEvent {
6 /// Highest block processed by the `ExEx`.
7 ///
8 /// The `ExEx` must guarantee that it will not require all earlier blocks in the future,
9 /// meaning that Reth is allowed to prune them.
10 ///
11 /// On reorgs, it's possible for the height to go down.
12 FinishedHeight(BlockNumHash),
13}