Skip to content

Commit

Permalink
update oracle reward params
Browse files Browse the repository at this point in the history
  • Loading branch information
Yun committed Nov 11, 2019
1 parent 0317497 commit dfa469a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions contrib/updates/columbus-2-to-columbus-3.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,11 +263,11 @@ def process_raw_genesis(genesis, parsed_args):
'vote_period': '5', # blocks per half-minute
'vote_threshold': genesis['app_state']['oracle']['params']['vote_threshold'],
'reward_band': genesis['app_state']['oracle']['params']['oracle_reward_band'],
'reward_distribution_period': '432000', # blocks per month
'reward_distribution_period': '103680', # votes period per month (blocks per monty = 518,400)
'reward_fraction': '0.010000000000000000', # 1%
'slash_window': '1000', # 1000 vote periods
'slash_fraction': '0.0001', # 0.01%
'min_valid_per_window': '0.05' # 5%
'slash_window': '3456', # vote periods per day (blocks per day = 17,280)
'slash_fraction': '0.0001', # 0.01%
'min_valid_per_window': '0.05' # 5%
}
}

Expand Down

0 comments on commit dfa469a

Please sign in to comment.