File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 1818#include < util/system.h>
1919#include < validation.h>
2020
21+ #include < unordered_map>
22+
2123// Hard checkpoints of stake modifiers to ensure they are deterministic
22- static const std::map <int , unsigned int > mapStakeModifierCheckpoints = {
24+ static const std::unordered_map <int , unsigned int > mapStakeModifierCheckpoints = {
2325 { 0 , 0x0e00670bu },
2426 { 50000 , 0xcbe5a9b4u },
2527 { 100000 , 0xbd074053u },
@@ -32,7 +34,7 @@ static const std::map<int, unsigned int> mapStakeModifierCheckpoints = {
3234 { 450000 , 0xc85e93eau },
3335};
3436
35- static const std::map <int , unsigned int > mapStakeModifierTestnetCheckpoints = {
37+ static const std::unordered_map <int , unsigned int > mapStakeModifierTestnetCheckpoints = {
3638 { 0 , 0x0e00670bu },
3739 { 50000 , 0x4af2e306u },
3840 { 100000 , 0xd9e06043u },
You can’t perform that action at this time.
0 commit comments