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
fn note_rewards(
    &self, 
    live: &mut Self::LiveBlock, 
    rewards: &[(Address, RewardType, U256)]
) -> Result<(), Self::Error>
&self,
live: &mut Self::LiveBlock,
rewards: &[(Address, RewardType, U256)]
) -> Result<(), Self::Error>
Note block rewards, traces each reward storing information about benefactor, amount and type of reward.
Implementors
impl WithRewards for EthereumMachine