fn propose_block()

in librabft-v2/src/record_store.rs [655:674]


    fn propose_block(
        &mut self,
        context: &mut Context,
        previous_quorum_certificate_hash: QuorumCertificateHash<Context::HashValue>,
        time: NodeTime,
    ) {
        if let Some(command) = context.fetch() {
            let block = Record::Block(SignedValue::make(
                context,
                Block_ {
                    command,
                    time,
                    previous_quorum_certificate_hash,
                    round: self.current_round,
                    author: context.author(),
                },
            ));
            self.insert_network_record(block, context)
        }
    }