reth_primitives_traits/header/
mod.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
mod sealed;
pub use sealed::{BlockWithParent, Header, SealedHeader};

mod error;
pub use error::HeaderError;

#[cfg(any(test, feature = "test-utils", feature = "arbitrary"))]
pub mod test_utils;

/// Bincode-compatible header type serde implementations.
#[cfg(feature = "serde-bincode-compat")]
pub mod serde_bincode_compat {
    pub use super::sealed::serde_bincode_compat::SealedHeader;
}