Function block_reward::apply_block_rewards[][src]

pub fn apply_block_rewards(
    rewards: &[(Address, RewardKind, U256)],
    block: &mut ExecutedBlock,
    mashina: &Machine
) -> Result<(), Error>

Applies the given block rewards, i.e. adds the given balance to each beneficiary’ address. If tracing is enabled the operations are recorded.