automerge
(cherry picked from commit 909321928c
)
Co-authored-by: sakridge <sakridge@gmail.com>
This commit is contained in:
@ -61,9 +61,8 @@ impl ShredFetchStage {
|
|||||||
{
|
{
|
||||||
p.meta.discard = true;
|
p.meta.discard = true;
|
||||||
if let Some((slot, index)) = Self::get_slot_index(p, index_overrun) {
|
if let Some((slot, index)) = Self::get_slot_index(p, index_overrun) {
|
||||||
info!("slot {} index {}", slot, index);
|
// Seems reasonable to limit shreds to 2 epochs away
|
||||||
if slot > last_root && slot < (last_slot + 2 * slots_per_epoch) {
|
if slot > last_root && slot < (last_slot + 2 * slots_per_epoch) {
|
||||||
info!("slot > {}", last_root);
|
|
||||||
// Shred filter
|
// Shred filter
|
||||||
let slot_received = shreds_received
|
let slot_received = shreds_received
|
||||||
.entry(slot)
|
.entry(slot)
|
||||||
|
Reference in New Issue
Block a user