pub fn insert_block(
        &mut self,
        parent: &ExecutedBlock<Vec<usize>>,
        round: Round,
    ) -> Arc<ExecutedBlock<Vec<usize>>> {
        // Node must carry a QC to its parent
        let parent_qc = self.create_qc_for_block(parent);

        self.insert_block_with_qc(parent_qc, parent, round)
    }
/// This function is generating a placeholder QC for a block's parent that is signed by a single
/// signer kept by the block store. If more sophisticated QC required, please use
/// `insert_block_with_qc`.
This function is generating a placeholder QC for a block's parent that is signed by a single
signer kept by the block store. If more sophisticated QC required, please use
`insert_block_with_qc`.
This function is generating a placeholder QC for a block ' s parent that is signed by a single signer kept by the block store . If more sophisticated QC required please use ` insert_block_with_qc ` .
pub fn insert_block(
        &mut self,
        parent: &ExecutedBlock<Vec<usize>>,
        round: Round,
    ) -> Arc<ExecutedBlock<Vec<usize>>> {
        // Node must carry a QC to its parent
        let parent_qc = self.create_qc_for_block(parent);
        self.insert_block_with_qc(parent_qc, parent, round)
    }
pub fn insert_block ( & mut self , parent : & ExecutedBlock < Vec < usize > > , round : Round , ) -> Arc < ExecutedBlock < Vec < usize > > > { // Node must carry a QC to its parent let parent_qc = self . create_qc_for_block ( parent ) ; self . insert_block_with_qc ( parent_qc , parent , round ) }
This function is generating a placeholder QC for a block's parent that is signed by a single
signer kept by the block store.
This function is generating a placeholder QC for a block ' s parent that is signed by a single signer kept by the block store .
&mut self
parent
&ExecutedBlock<Vec<usize>>
round
Round
&mut self
parent
&ExecutedBlock<Vec<usize>>
round
Round