mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 10:52:43 +00:00
backfill batches need to be of just one epoch
This commit is contained in:
@@ -33,7 +33,7 @@ use types::{Epoch, EthSpec};
|
||||
/// we will negatively report peers with poor bandwidth. This can be set arbitrarily high, in which
|
||||
/// case the responder will fill the response up to the max request size, assuming they have the
|
||||
/// bandwidth to do so.
|
||||
pub const BACKFILL_EPOCHS_PER_BATCH: u64 = 2;
|
||||
pub const BACKFILL_EPOCHS_PER_BATCH: u64 = 1;
|
||||
|
||||
/// The maximum number of batches to queue before requesting more.
|
||||
const BACKFILL_BATCH_BUFFER_SIZE: u8 = 20;
|
||||
|
||||
Reference in New Issue
Block a user