pub fn generate_traffic<'t>( ctx: &mut NetworkContext<'t>, validators: &[PeerId], duration: Duration ) -> Result<TxnStats>