Function darkfid::task::miner::mine

source ·
async fn mine(
    node: &Darkfid,
    extended_fork: &Fork,
    secret: &mut SecretKey,
    recipient: &PublicKey,
    zkbin: &ZkBinary,
    pk: &ProvingKey,
    stop_signal: &Receiver<()>,
    skip_sync: bool
) -> Result<()>
Expand description

Async task to generate and mine provided fork index next block, while listening for a stop signal.