Activate post-quantum rules at block 6000

This commit is contained in:
Capri 2026-09-01 08:46:18 +00:00
commit 2cf5c796dc
Signed by: VextaProject
SSH key fingerprint: SHA256:739BZv8LvIDY2tR7lXLy/IQ6MaGTQtYcG9GNvCjmpVM
4 changed files with 22 additions and 7 deletions

View file

@ -49,6 +49,11 @@ inline bool DeploymentEnabled(const Consensus::Params& params, Consensus::Buried
inline bool DeploymentEnabled(const Consensus::Params& params, Consensus::DeploymentPos dep)
{
assert(Consensus::ValidDeployment(dep));
if (dep == Consensus::DEPLOYMENT_PQR) {
return true;
}
return params.vDeployments[dep].nStartTime != Consensus::BIP9Deployment::NEVER_ACTIVE;
}