Function sc_light::fetcher::cht::is_build_required[][src]

pub fn is_build_required<N>(cht_size: N, block_num: N) -> Option<N> where
    N: Clone + AtLeast32Bit

Returns Some(cht_number) if CHT is need to be built when the block with given number is canonized.