5#ifndef BITCOIN_AVALANCHE_STAKECONTENDER_H
6#define BITCOIN_AVALANCHE_STAKECONTENDER_H
arith_uint256 UintToArith256(const uint256 &a)
uint256 Hash(const T &in1)
Compute the 256-bit hash of an object.
A BlockHash is a unqiue identifier for a block.
StakeContenderIds are unique for each block to ensure that the peer polling for their acceptance has ...
double ComputeProofRewardRank(uint32_t proofScore)
To make sure the selection is properly weighted according to the proof score, we normalize the conten...
StakeContenderId(const BlockHash &prevblockhash, const ProofId &proofid)