Function cfxcore::sync::utils::initialize_synchronization_graph
source · pub fn initialize_synchronization_graph(
db_dir: &str,
beta: u64,
h: u64,
tcr: u64,
tcb: u64,
era_epoch_count: u64,
dbtype: DbType
) -> (Arc<SynchronizationGraph>, Arc<ConsensusGraph>, Arc<BlockDataManager>, Arc<Block>)
Expand description
This method is only used in tests and benchmarks.