reth_storage_api/chain_info.rs
1/// A type that knows when the last fork choice update was received.
2pub trait CanonChainTracker: Send + Sync {
3 /// Returns the last time a fork choice update was received from the CL.
4 ///
5 /// Returns `None` if none was received yet, or if the type does not track them.
6 #[cfg(feature = "std")]
7 fn last_received_update_timestamp(&self) -> Option<std::time::Instant>;
8}