reth_node_core::primitives::header::test_utils

Function valid_header_strategy

pub fn valid_header_strategy() -> impl Strategy<Value = Header>
Available on crate features test-utils or arbitrary only.
Expand description

Generates a proptest strategy for constructing an instance of a header which is valid with respect to past and future forks.

See docs for generate_valid_header for more information.