reth_discv4::test_utils

Function create_discv4_with_config

Source
pub async fn create_discv4_with_config(
    config: Discv4Config,
) -> (Discv4, Discv4Service)
Available on crate feature test-utils only.
Expand description

Creates a new testing instance for Discv4 and its service with the given config.