reth_discv4::test_utils

Function rng_ipv4_record

Source
pub fn rng_ipv4_record(rng: &mut impl RngCore) -> NodeRecord
Available on crate feature test-utils only.
Expand description

Generates a random IPv4 NodeRecord using the provided random number generator.