MAX_SUBMITTED_HEADERS = 4 (#293)

This commit is contained in:
Svyatoslav Nikolsky
2020-08-19 13:32:12 +03:00
committed by Bastian Köcher
parent 0f38601252
commit b2c3238501
@@ -47,7 +47,7 @@ pub mod consts {
/// Max Ethereum headers we want to have in all 'before-submitted' states.
pub const MAX_FUTURE_HEADERS_TO_DOWNLOAD: usize = 8;
/// Max Ethereum headers count we want to have in 'submitted' state.
pub const MAX_SUBMITTED_HEADERS: usize = 1;
pub const MAX_SUBMITTED_HEADERS: usize = 4;
/// Max depth of in-memory headers in all states. Past this depth they will be forgotten (pruned).
pub const PRUNE_DEPTH: u32 = 256;
}