reth_discv4::test_utils

Function rng_record

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

Generates a random NodeRecord using the provided random number generator.