pub fn coinbase_reward<N: Network>(
block_height: u32,
block_timestamp: i64,
genesis_timestamp: i64,
starting_supply: u64,
anchor_time: u16,
anchor_height: u32,
block_time: u16,
combined_proof_target: u128,
cumulative_proof_target: u64,
coinbase_target: u64,
) -> Result<u64>
Expand description
Calculate the coinbase reward based on the network’s consensus version, determined by the given block height.