darkfid::task::miner

Function generate_transaction

Source
fn generate_transaction(
    block_height: u32,
    fees: u64,
    secret: &SecretKey,
    recipient_config: &MinerRewardsRecipientConfig,
    zkbin: &ZkBinary,
    pk: &ProvingKey,
) -> Result<Transaction>
Expand description

Auxiliary function to generate a Money::PoWReward transaction.