Function darkfi_sdk::blockchain::expected_reward
source ยท pub fn expected_reward(height: u32) -> u64
Expand description
Auxiliary function to calculate provided block height expected reward value.
Genesis block always returns reward value 0. Rewards are halfed at fixed intervals, called epochs. After last epoch has started, reward value is based on DARK token-economics.