/// Merge checkpoints to ensure that only a specific number of checkpoints remain.
Merge checkpoints to ensure that only a specific number of checkpoints remain.
Merge checkpoints to ensure that only a specific number of checkpoints remain .
pub fn merge_checkpoints(&mut self, max_cp_count: usize) {
        self.operations
            .push(WriteOperation::MergeMmrCheckpoints(MmrTree::Kernel, max_cp_count));
        self.operations
            .push(WriteOperation::MergeMmrCheckpoints(MmrTree::Utxo, max_cp_count));
        self.operations
            .push(WriteOperation::MergeMmrCheckpoints(MmrTree::RangeProof, max_cp_count));
    }
pub fn merge_checkpoints ( & mut self , max_cp_count : usize ) { self . operations . push ( WriteOperation :: MergeMmrCheckpoints ( MmrTree :: Kernel , max_cp_count ) ) ; self . operations . push ( WriteOperation :: MergeMmrCheckpoints ( MmrTree :: Utxo , max_cp_count ) ) ; self . operations . push ( WriteOperation :: MergeMmrCheckpoints ( MmrTree :: RangeProof , max_cp_count ) ) ; }
Merge checkpoints to ensure that only a specific number of checkpoints remain.
Merge checkpoints to ensure that only a specific number of checkpoints remain .
&mut self
max_cp_count
usize