ckb-launcher 0.101.0

CKB tool to import/export chain data.
Documentation
use ckb_db::{Result, RocksDB};
use ckb_db_migration::{Migration, ProgressBar};
use std::sync::Arc;

pub struct AddBlockExtensionColumnFamily;

const VERSION: &str = "20210727100000";

impl Migration for AddBlockExtensionColumnFamily {
    fn migrate(
        &self,
        db: RocksDB,
        _pb: Arc<dyn Fn(u64) -> ProgressBar + Send + Sync>,
    ) -> Result<RocksDB> {
        Ok(db)
    }

    fn version(&self) -> &str {
        VERSION
    }

    fn expensive(&self) -> bool {
        false
    }
}