darkfid::task::miner

Function mine_next_block

Source
async fn mine_next_block(
    node: &DarkfiNodePtr,
    extended_fork: &Fork,
    secret: &mut SecretKey,
    recipient_config: &MinerRewardsRecipientConfig,
    zkbin: &ZkBinary,
    pk: &ProvingKey,
    skip_sync: bool,
) -> Result<()>
Expand description

Async task to generate and mine provided fork index next block.