perf: lower pipeline run threshold to 1 epoch (#3375)

This commit is contained in:
Matthias Seitz
2023-06-25 18:46:05 +02:00
committed by GitHub
parent 63fbc48c60
commit add1abfeb2

View File

@ -69,7 +69,7 @@ const MAX_INVALID_HEADERS: u32 = 512u32;
/// The largest gap for which the tree will be used for sync. See docs for `pipeline_run_threshold` /// The largest gap for which the tree will be used for sync. See docs for `pipeline_run_threshold`
/// for more information. /// for more information.
pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = 2 * EPOCH_SLOTS; pub const MIN_BLOCKS_FOR_PIPELINE_RUN: u64 = EPOCH_SLOTS;
/// A _shareable_ beacon consensus frontend. Used to interact with the spawned beacon consensus /// A _shareable_ beacon consensus frontend. Used to interact with the spawned beacon consensus
/// engine. /// engine.