Returns the anchor block height after a given number of years for a specific anchor time.
Calculates the coinbase reward for a given block.
R_coinbase = max(0, H_Y10 - H) * R_anchor * 2^(-1 * (D - B) / B).
R_anchor = Anchor reward.
H_Y10 = Anchor block height at year 10.
H = Current block height.
D = Time elapsed since the previous block.
B = Anchor block time.
Calculate the coinbase target for the given block height.
Returns the address that minted microcredits, given a mint transition.
Returns the amount minted in microcredits, given a mint transition.
Calculate the minimum proof target for the given coinbase target.
Returns the proving rewards for a given coinbase reward and list of prover solutions.
Calculate the staking reward, given the starting supply and anchor time.
R_staking = floor((0.025 * S) / H_Y1)
S = Starting supply.
H_Y1 = Anchor block height at year 1.
Returns the next total supply in microcredits, given the starting total supply and newly-confirmed transactions.