Removed --donate-time CLI option and donatetime console command, Removed time-based donation tracking, Replace time-based donation with deterministic blockchain-height-based donation, All nodes calculate donation mode identically based on block height, Eliminated need for sidechain file on mainnet - defualts to salvium_main now

This commit is contained in:
Matt Hess
2025-11-17 04:10:38 +00:00
parent cde94c9ea2
commit ec4f5d914d
9 changed files with 44 additions and 71 deletions
-9
View File
@@ -92,15 +92,6 @@ Params::Params(int argc, char* const argv[])
ok = true;
}
if ((strcmp(argv[i], "--donate-time") == 0) && (i + 1 < argc)) {
m_donateLevel = static_cast<uint32_t>(atoi(argv[++i]));
if (m_donateLevel < 1 || m_donateLevel > 50) {
LOGERR(1, "Invalid donate level " << m_donateLevel << ", must be 1-50");
m_donateLevel = 1;
}
ok = true;
}
if ((strcmp(argv[i], "--stratum") == 0) && (i + 1 < argc)) {
m_stratumAddresses = argv[++i];
ok = true;