reth_optimism_txpool/
estimated_da_size.rs

1//! Additional support for estimating the data availability size of transactions.
2
3/// Helper trait that allows attaching an estimated data availability size.
4pub trait DataAvailabilitySized {
5    /// Get the estimated data availability size of the transaction.
6    ///
7    /// Note: it is expected that this value will be cached internally.
8    fn estimated_da_size(&self) -> u64;
9}