snarkvm_ledger_block

Function proof_target

Source
pub fn proof_target(
    coinbase_target: u64,
    genesis_proof_target: u64,
    max_solutions_as_power_of_two: u8,
) -> u64
Expand description

Calculate the minimum proof target for the given coinbase target.