Adjust difficulty target (2 min) and full reward zone (60 kbytes) for block version 2

This commit is contained in:
Javier Smooth 2015-11-05 01:58:47 -08:00
parent ea7380aa7f
commit 4fea1a5fe7
8 changed files with 38 additions and 26 deletions

View file

@ -120,7 +120,7 @@ namespace cryptonote
in.height = height;
uint64_t block_reward;
if(!get_block_reward(median_size, current_block_size, already_generated_coins, block_reward))
if(!get_block_reward(median_size, current_block_size, already_generated_coins, block_reward, hard_fork_version))
{
LOG_PRINT_L0("Block is too big");
return false;