Broadcast final shred for slots that are interrupted (#6269)

* Broadcast final shred for slots that are interrupted
This commit is contained in:
carllin
2019-10-09 16:07:18 -07:00
committed by GitHub
parent de82e60c64
commit dd66d16fdb
9 changed files with 388 additions and 183 deletions

View File

@@ -1771,7 +1771,7 @@ 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::max_ticks_per_n_shreds;
use crate::shred::{DataShredHeader, Shred};
use crate::test_tx::test_tx;
use solana_sdk::hash::Hash;
@@ -1976,7 +1976,7 @@ mod tests {
let _ = fill_blocktree_slot_with_ticks(
&blocktree,
max_ticks_per_shred() + 1,
max_ticks_per_n_shreds(1) + 1,
2,
1,
Hash::default(),