pub fn create_genesis_block(
    cfg: &ConsensusConfig,
    thread_number: u8,
) -> Result<SecureShareBlock, ConsensusError>
Expand description

Creates genesis block in given thread.

§Arguments

  • cfg: consensus configuration
  • thread_number: thread in which we want a genesis block

§Returns

A genesis block