Function solana_core::duplicate_shred::from_duplicate_slot_proof [−][src]
pub fn from_duplicate_slot_proof(
proof: &DuplicateSlotProof,
self_pubkey: Pubkey,
leader_schedule: Option<impl LeaderScheduleFn>,
wallclock: u64,
max_size: usize
) -> Result<impl Iterator<Item = DuplicateShred>, Error>
Splits a DuplicateSlotProof into DuplicateShred chunks with a size limit on each chunk.