From 58c2e23fca05d201dfcea092ab032c943c9d5665 Mon Sep 17 00:00:00 2001 From: Ava Chow Date: Wed, 25 Feb 2026 15:41:12 -0800 Subject: [PATCH] kernel: Update headerssync params --- contrib/devtools/headerssync-params.py | 4 ++-- src/kernel/chainparams.cpp | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/contrib/devtools/headerssync-params.py b/contrib/devtools/headerssync-params.py index 82bdaadb233..886ea583d71 100755 --- a/contrib/devtools/headerssync-params.py +++ b/contrib/devtools/headerssync-params.py @@ -12,13 +12,13 @@ import random # Parameters: # Aim for still working fine at some point in the future. [datetime] -TIME = datetime(2028, 4, 2) +TIME = datetime(2028, 10, 10) # Expected block interval. [timedelta] BLOCK_INTERVAL = timedelta(seconds=600) # The number of headers corresponding to the minchainwork parameter. [headers] -MINCHAINWORK_HEADERS = 912683 +MINCHAINWORK_HEADERS = 938343 # Combined processing bandwidth from all attackers to one victim. [bit/s] # 6 Gbit/s is approximately the speed at which a single thread of a Ryzen 5950X CPU thread can hash diff --git a/src/kernel/chainparams.cpp b/src/kernel/chainparams.cpp index c94cb8c4e2f..3571b500fe0 100644 --- a/src/kernel/chainparams.cpp +++ b/src/kernel/chainparams.cpp @@ -191,10 +191,10 @@ public: .dTxRate = 5.40111006496122, }; - // Generated by headerssync-params.py on 2025-09-01. + // Generated by headerssync-params.py on 2026-02-25. m_headers_sync_params = HeadersSyncParams{ - .commitment_period = 632, - .redownload_buffer_size = 15009, // 15009/632 = ~23.7 commitments + .commitment_period = 641, + .redownload_buffer_size = 15218, // 15218/641 = ~23.7 commitments }; } }; @@ -294,10 +294,10 @@ public: .dTxRate = 0.02691479016257117, }; - // Generated by headerssync-params.py on 2025-09-03. + // Generated by headerssync-params.py on 2026-02-25. m_headers_sync_params = HeadersSyncParams{ - .commitment_period = 628, - .redownload_buffer_size = 13460, // 13460/628 = ~21.4 commitments + .commitment_period = 673, + .redownload_buffer_size = 14460, // 14460/673 = ~21.5 commitments }; } }; @@ -401,10 +401,10 @@ public: .dTxRate = 0.01848579579528412, }; - // Generated by headerssync-params.py on 2025-09-03. + // Generated by headerssync-params.py on 2026-02-25. m_headers_sync_params = HeadersSyncParams{ - .commitment_period = 275, - .redownload_buffer_size = 7017, // 7017/275 = ~25.5 commitments + .commitment_period = 606, + .redownload_buffer_size = 16092, // 16092/606 = ~26.6 commitments }; } }; @@ -520,10 +520,10 @@ public: fDefaultConsistencyChecks = false; m_is_mockable_chain = false; - // Generated by headerssync-params.py on 2025-09-03. + // Generated by headerssync-params.py on 2026-02-25. m_headers_sync_params = HeadersSyncParams{ - .commitment_period = 390, - .redownload_buffer_size = 9584, // 9584/390 = ~24.6 commitments + .commitment_period = 620, + .redownload_buffer_size = 15724, // 15724/620 = ~25.4 commitments }; } };