Function snarkvm_synthesizer::vm::proving_rewards
source · pub fn proving_rewards<N: Network>(
proof_targets: Vec<(Address<N>, u64)>,
puzzle_reward: u64
) -> IndexMap<Address<N>, u64>
Expand description
Returns the proving rewards for a given coinbase reward and list of prover solutions.
The prover reward is defined as: puzzle_reward * (proof_target / combined_proof_target)
.