darkfid::task::miner

Function 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.