We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3f446a7 + 7ac03f7 commit 320ac64Copy full SHA for 320ac64
ledger/block/src/helpers/target.rs
@@ -27,7 +27,7 @@ pub const fn block_reward(total_supply: u64, block_time: u16, coinbase_reward: u
27
// Compute the expected block height at year 1.
28
let block_height_at_year_1 = block_height_at_year(block_time, 1);
29
// Compute the annual reward: (0.05 * S).
30
- let annual_reward = (total_supply / 1000) * 50;
+ let annual_reward = total_supply / 20;
31
// Compute the block reward: (0.05 * S) / H_Y1.
32
let block_reward = annual_reward / block_height_at_year_1 as u64;
33
// Return the sum of the block reward, coinbase reward, and transaction fees.
0 commit comments