Function ethcore::engines::block_reward::apply_block_rewards[][src]

pub fn apply_block_rewards<M: Machine + WithBalances + WithRewards>(
    rewards: &[(Address, RewardKind, U256)],
    block: &mut M::LiveBlock,
    machine: &M
) -> Result<(), M::Error>

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