pub fn add_account(&mut self, id: AccountId, work: Work) -> Result<()> {
        let e = self.accumulation.add_account(id, work)?;
        self.accumulation.apply(AccumulationEvent::AccountAdded(e));
        Ok(())
    }
/// Work is the total work associated with this account id.
/// It is a strictly incrementing value during the lifetime of
/// the owner on the network.
Work is the total work associated with this account id.
It is a strictly incrementing value during the lifetime of
the owner on the network.
Work is the total work associated with this account id . It is a strictly incrementing value during the lifetime of the owner on the network .
pub fn add_account(&mut self, id: AccountId, work: Work) -> Result<()> {
        let e = self.accumulation.add_account(id, work)?;
        self.accumulation.apply(AccumulationEvent::AccountAdded(e));
        Ok(())
    }
pub fn add_account ( & mut self , id : AccountId , work : Work ) -> Result < ( ) > { let e = self . accumulation . add_account ( id , work ) ? ; self . accumulation . apply ( AccumulationEvent :: AccountAdded ( e ) ) ; Ok ( ( ) ) }
Work is the total work associated with this account id.
Work is the total work associated with this account id .
&mut self
id
AccountId
work
Work
&mut self
id
AccountId
work
Work