fn aggregate_random_beacon_shares(&self, pool: &PoolReader<'_>) -> Vec<ConsensusMessage> {
        let height = pool.get_random_beacon_height().increment();
        let shares = pool.get_random_beacon_shares(height);
        let state_reader = pool.as_cache();
        let dkg_id = utils::active_low_threshold_transcript(state_reader, height)
            .map(|transcript| transcript.dkg_id);
        to_messages(utils::aggregate(
            &self.log,
            self.membership.as_ref(),
            self.crypto.as_aggregate(),
            Box::new(|_| dkg_id),
            shares,
        ))
    }
/// Attempt to construct the next round's `RandomBeacon`
Attempt to construct the next round's `RandomBeacon`
Attempt to construct the next round ' s ` RandomBeacon `
fn aggregate_random_beacon_shares(&self, pool: &PoolReader<'_>) -> Vec<ConsensusMessage> {
        let height = pool.get_random_beacon_height().increment();
        let shares = pool.get_random_beacon_shares(height);
        let state_reader = pool.as_cache();
        let dkg_id = utils::active_low_threshold_transcript(state_reader, height)
            .map(|transcript| transcript.dkg_id);
        to_messages(utils::aggregate(
            &self.log,
            self.membership.as_ref(),
            self.crypto.as_aggregate(),
            Box::new(|_| dkg_id),
            shares,
        ))
    }
fn aggregate_random_beacon_shares ( & self , pool : & PoolReader < ' _ > ) -> Vec < ConsensusMessage > { let height = pool . get_random_beacon_height ( ) . increment ( ) ; let shares = pool . get_random_beacon_shares ( height ) ; let state_reader = pool . as_cache ( ) ; let dkg_id = utils :: active_low_threshold_transcript ( state_reader , height ) . map ( | transcript | transcript . dkg_id ) ; to_messages ( utils :: aggregate ( & self . log , self . membership . as_ref ( ) , self . crypto . as_aggregate ( ) , Box :: new ( | _ | dkg_id ) , shares , ) ) }
Attempt to construct the next round's `RandomBeacon`
Attempt to construct the next round ' s ` RandomBeacon `
&self
pool
&PoolReader<'_>
&self
pool
&PoolReader<'_>