diff options
author | fanquake <fanquake@gmail.com> | 2023-10-05 11:36:03 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2023-10-05 11:36:03 +0100 |
commit | b2ede22395ae8ce371433c9611929374dd98908a (patch) | |
tree | a06efb3da505af9b7afa32b8ddda36c8b1839d90 /src/headerssync.cpp | |
parent | f12f92b813cd8c29904f36f8ed7ed74649886897 (diff) |
headerssync: update params for 26.x
Diffstat (limited to 'src/headerssync.cpp')
-rw-r--r-- | src/headerssync.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/headerssync.cpp b/src/headerssync.cpp index 1b5d7305e8..b885590c56 100644 --- a/src/headerssync.cpp +++ b/src/headerssync.cpp @@ -13,11 +13,11 @@ // contrib/devtools/headerssync-params.py. //! Store one header commitment per HEADER_COMMITMENT_PERIOD blocks. -constexpr size_t HEADER_COMMITMENT_PERIOD{600}; +constexpr size_t HEADER_COMMITMENT_PERIOD{606}; //! Only feed headers to validation once this many headers on top have been //! received and validated against commitments. -constexpr size_t REDOWNLOAD_BUFFER_SIZE{14308}; // 14308/600 = ~23.8 commitments +constexpr size_t REDOWNLOAD_BUFFER_SIZE{14441}; // 14441/606 = ~23.8 commitments // Our memory analysis assumes 48 bytes for a CompressedHeader (so we should // re-calculate parameters if we compress further) |