Trait ethcore::machine::WithRewards[][src]

pub trait WithRewards: Machine {
    fn note_rewards(
        &self,
        live: &mut Self::LiveBlock,
        rewards: &[(Address, RewardType, U256)]
    ) -> Result<(), Self::Error>; }

A state machine that uses block rewards.

Required Methods

Note block rewards, traces each reward storing information about benefactor, amount and type of reward.

Implementors