Function darkfid::task::miner::generate_next_block

source ยท
async fn generate_next_block(
    extended_fork: &Fork,
    secret: &mut SecretKey,
    recipient_config: &MinerRewardsRecipientConfig,
    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.