dashpay / dash

Dash - Reinventing Cryptocurrency
https://www.dash.org
MIT License
1.49k stars 1.2k forks source link

feat: harden all sporks on mainnet to current values #6140

Closed PastaPastaPasta closed 1 month ago

PastaPastaPasta commented 1 month ago

Issue being fixed or feature implemented

Harden all sporks on the mainnet; they are no longer necessary. Although retaining them might be beneficial in addressing bugs or issues, the greater priority is to protect mainnet by minimizing risks associated with potential centralization or even its perception. Sporks will continue to be valuable for testing on developer networks; however, on mainnet, the risks of maintaining them now outweigh the benefits of retaining them.

What was done?

Adjust CSporkManager::GetSporkValue to always return 0 for sporks in general and 1 for SPORK_21_QUORUM_ALL_CONNECTED specifically.

How Has This Been Tested?

Ran main net node with this patch. Sporks show as expected

Breaking Changes

This is not a breaking change.

Checklist: