Shred entries in parallel (#6180)

* Make shredding more parallel

* Fix erasure tests

* Fix replicator test

* Remove UnfinishedSlotInfo
This commit is contained in:
carllin
2019-10-08 00:42:51 -07:00
committed by GitHub
parent 667f9e0d79
commit ac2374e9a1
14 changed files with 779 additions and 779 deletions

View File

@@ -1775,9 +1775,9 @@ mod tests {
use crate::crds_value::CrdsValueLabel;
use crate::repair_service::RepairType;
use crate::result::Error;
use crate::shred::max_ticks_per_shred;
use crate::shred::{DataShredHeader, Shred};
use crate::test_tx::test_tx;
use solana_sdk::clock::DEFAULT_TICKS_PER_SLOT;
use solana_sdk::hash::Hash;
use solana_sdk::signature::{Keypair, KeypairUtil};
use std::collections::HashSet;
@@ -1980,7 +1980,7 @@ mod tests {
let _ = fill_blocktree_slot_with_ticks(
&blocktree,
DEFAULT_TICKS_PER_SLOT,
max_ticks_per_shred() + 1,
2,
1,
Hash::default(),