/// Attempt to construct artifacts from artifact shares in the artifact
/// pool
Attempt to construct artifacts from artifact shares in the artifact
pool
Attempt to construct artifacts from artifact shares in the artifact pool
pub fn on_state_change(&self, pool: &PoolReader<'_>) -> Vec<ConsensusMessage> {
        let mut messages = Vec::new();
        messages.append(&mut self.aggregate_random_beacon_shares(pool));
        messages.append(&mut self.aggregate_random_tape_shares(pool));
        messages.append(&mut self.aggregate_notarization_shares(pool));
        messages.append(&mut self.aggregate_finalization_shares(pool));
        messages.append(&mut self.aggregate_catch_up_package_shares(pool));
        messages
    }
pub fn on_state_change ( & self , pool : & PoolReader < ' _ > ) -> Vec < ConsensusMessage > { let mut messages = Vec :: new ( ) ; messages . append ( & mut self . aggregate_random_beacon_shares ( pool ) ) ; messages . append ( & mut self . aggregate_random_tape_shares ( pool ) ) ; messages . append ( & mut self . aggregate_notarization_shares ( pool ) ) ; messages . append ( & mut self . aggregate_finalization_shares ( pool ) ) ; messages . append ( & mut self . aggregate_catch_up_package_shares ( pool ) ) ; messages }
Attempt to construct artifacts from artifact shares in the artifact
pool
Attempt to construct artifacts from artifact shares in the artifact pool
&self
pool
&PoolReader<'_>