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.
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.