kernel: Update headerssync params

This commit is contained in:
Ava Chow
2026-09-08 21:12:26 -07:00
parent 42d93d40de
commit 7eb4cec1a9
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, 10, 10)
TIME = datetime(2029, 4, 10)
# Expected block interval. [timedelta]
BLOCK_INTERVAL = timedelta(seconds=600)
# The number of headers corresponding to the minchainwork parameter. [headers]
MINCHAINWORK_HEADERS = 938343
MINCHAINWORK_HEADERS = 966143
# 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

@@ -220,10 +220,10 @@ public:
.dTxRate = 7.851784479579372,
};
// Generated by headerssync-params.py on 2026-02-25.
// Generated by headerssync-params.py on 2026-09-08.
m_headers_sync_params = HeadersSyncParams{
.commitment_period = 641,
.redownload_buffer_size = 15218, // 15218/641 = ~23.7 commitments
.commitment_period = 649,
.redownload_buffer_size = 15400, // 15400/649 = ~23.7 commitments
};
}
};
@@ -322,10 +322,10 @@ public:
.dTxRate = 0.02306697351149596,
};
// Generated by headerssync-params.py on 2026-02-25.
// Generated by headerssync-params.py on 2026-09-08.
m_headers_sync_params = HeadersSyncParams{
.commitment_period = 673,
.redownload_buffer_size = 14460, // 14460/673 = ~21.5 commitments
.commitment_period = 682,
.redownload_buffer_size = 14613, // 14613/682 = ~21.4 commitments
};
}
};
@@ -429,10 +429,10 @@ public:
.dTxRate = 0.1148250171344748,
};
// Generated by headerssync-params.py on 2026-02-25.
// Generated by headerssync-params.py on 2026-09-08.
m_headers_sync_params = HeadersSyncParams{
.commitment_period = 606,
.redownload_buffer_size = 16092, // 16092/606 = ~26.6 commitments
.commitment_period = 616,
.redownload_buffer_size = 16199, // 16199/616 = ~26.3 commitments
};
}
};
@@ -548,10 +548,10 @@ public:
fDefaultConsistencyChecks = false;
m_is_mockable_chain = false;
// Generated by headerssync-params.py on 2026-02-25.
// Generated by headerssync-params.py on 2026-09-08.
m_headers_sync_params = HeadersSyncParams{
.commitment_period = 620,
.redownload_buffer_size = 15724, // 15724/620 = ~25.4 commitments
.commitment_period = 629,
.redownload_buffer_size = 15885, // 15885/629 = ~25.3 commitments
};
}
};