I'm not a developer, but I'm curious to know why vote_power_reserve_rate is 10 in database.cpp and 40 in global_propert_object.hpp?
I'm not a developer, but I'm curious to know why vote_power_reserve_rate is 10 in database.cpp and 40 in global_propert_object.hpp?
It was 40 (implying max efficient vote per day is 40) but now 10, which is 4x increased.
I know, but my question was why does it still say vote_power_reserve_rate = 40 in global_property_object.hpp?
https://github.com/steemit/steem/commit/f9b92f2c5c04376e0d092c412b0894be84e79aed
https://github.com/steemit/steem/blob/f9b92f2c5c04376e0d092c412b0894be84e79aed/libraries/chain/include/steemit/chain/global_property_object.hpp
Ah didn't realized that. Curious too.
the hpp contains an initial value for
vote_power_reserve_rate
, but later when the code is running the value is changed to 10 only if we are working in the HardFork 19.This is made in this way because the code must have a door to calculate all of the powers in the previous hardforks, because the first blocks were created in another manner.