Module model.constants
Constants used in the model e.g. number of epochs in a year, Gwei in 1 Ether
Expand source code
"""
Constants used in the model e.g. number of epochs in a year, Gwei in 1 Ether
"""
gwei = 1e9
wei = 1e18
slots_per_epoch = 32
epochs_per_day = 225
epochs_per_month = 6750
epochs_per_year = 82180
pow_blocks_per_epoch = 32.0 * 12 / 13