kernel: Update headerssync params

This commit is contained in:
Ava Chow 2026-02-25 15:41:12 -08:00
parent cf261b071f
commit 58c2e23fca
2 changed files with 14 additions and 14 deletions

View File

@ -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

View File

@ -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
};
}
};