[headerssync] update headerssync config for v29

This commit is contained in:
glozow
2025-03-03 12:59:16 -05:00
parent dd23c53258
commit 11a2d3a63e
2 changed files with 4 additions and 4 deletions

View File

@@ -13,11 +13,11 @@
// contrib/devtools/headerssync-params.py.
//! Store one header commitment per HEADER_COMMITMENT_PERIOD blocks.
constexpr size_t HEADER_COMMITMENT_PERIOD{615};
constexpr size_t HEADER_COMMITMENT_PERIOD{624};
//! Only feed headers to validation once this many headers on top have been
//! received and validated against commitments.
constexpr size_t REDOWNLOAD_BUFFER_SIZE{14621}; // 14621/615 = ~23.8 commitments
constexpr size_t REDOWNLOAD_BUFFER_SIZE{14827}; // 14827/624 = ~23.8 commitments
// Our memory analysis assumes 48 bytes for a CompressedHeader (so we should
// re-calculate parameters if we compress further)