Function cfxcore::sync::utils::create_simple_block
source · pub fn create_simple_block(
sync: Arc<SynchronizationGraph>,
parent_hash: H256,
ref_hashes: Vec<H256>,
height: u64,
block_weight: u32,
adaptive: bool
) -> (H256, Block)