Function sc_client_api::cht::start_number
source · [−]pub fn start_number<N: AtLeast32Bit>(cht_size: N, cht_num: N) -> N
Expand description
Get the starting block of a given CHT. CHT 0 includes block 1…SIZE, CHT 1 includes block SIZE + 1 … 2SIZE More generally: CHT N includes block (1 + NSIZE)…((N+1)*SIZE). This is because the genesis hash is assumed to be known and including it would be redundant.