/// Create a MMR checkpoint for the given `MmrTree`
Create a MMR checkpoint for the given `MmrTree`
Create a MMR checkpoint for the given ` MmrTree `
pub fn horizon_sync_create_mmr_checkpoint(&self, tree: MmrTree) -> Result<(), ChainStorageError> {
        let mut db = self.db_write_access()?;
        let mut txn = DbTransaction::new();
        txn.create_mmr_checkpoint(tree);
        commit(&mut *db, txn)
    }
pub fn horizon_sync_create_mmr_checkpoint ( & self , tree : MmrTree ) -> Result < ( ) , ChainStorageError > { let mut db = self . db_write_access ( ) ? ; let mut txn = DbTransaction :: new ( ) ; txn . create_mmr_checkpoint ( tree ) ; commit ( & mut * db , txn ) }
Create a MMR checkpoint for the given `MmrTree`
Create a MMR checkpoint for the given ` MmrTree `
&self
tree
MmrTree