pub fn generate_random_pow_block(selfish: bool) -> Block