Function Reward.calculateBlockRewards

Returns the Block Rewards for the given height.

BlockRewards calculateBlockRewards (
  in const(Height) height,
  in const(ubyte) percent_signed
) nothrow @safe;

Parameters

NameDescription
height height of block for payout
percent_signed (#actual signatures / #expected signatures) * 100

Returns

BlockRewards which indicates the Amount to pay the Validators and the Commons Budget