Function reth_discv4::test_utils::rng_endpoint
source ยท pub fn rng_endpoint(rng: &mut impl Rng) -> NodeEndpoint
Available on crate feature
test-utils
only.Expand description
Generates a random NodeEndpoint
using the provided random number generator.