pub fn random_header_range<R: Rng>(
rng: &mut R,
range: Range<u64>,
head: B256,
) -> Vec<SealedHeader>
Expand description
Generates a range of random [SealedHeader
]s.
The parent hash of the first header
in the result will be equal to head
.
The headers are assumed to not be correct if validated.