Add tx weighting stage

This commit is contained in:
Stephen Akridge
2021-12-16 14:47:55 +00:00
committed by Tao Zhu
parent 664deb2157
commit 976b138e76
8 changed files with 150 additions and 16 deletions

View File

@@ -159,7 +159,7 @@ fn bench_sigverify_stage(bencher: &mut Bencher) {
for _ in 0..batches.len() {
if let Some(batch) = batches.pop() {
sent_len += batch.packets.len();
packet_s.send(batch).unwrap();
packet_s.send(vec![batch]).unwrap();
}
}
let mut received = 0;