async fn generate_next_block(
    extended_fork: &Fork,
    secret: &mut SecretKey,
    recipient: &PublicKey,
    zkbin: &ZkBinary,
    pk: &ProvingKey,
    block_target: u32,
    verify_fees: bool
) -> Result<(BigUint, BlockInfo)>
Expand description

Auxiliary function to generate next block in an atomic manner.