5#ifndef BITCOIN_AVALANCHE_TEST_UTIL_H
6#define BITCOIN_AVALANCHE_TEST_UTIL_H
20 CScript() << OP_DUP << OP_HASH160 << std::vector<uint8_t>(20, 0)
static constexpr Amount COIN
An encapsulated secp256k1 private key.
static CKey MakeCompressedKey()
Produce a valid compressed key.
Serialized script, used inside transaction inputs and outputs.
Chainstate stores and provides an API to update our local knowledge of the current best chain.
static constexpr Amount PROOF_DUST_THRESHOLD
Minimum amount per utxo.
const CScript UNSPENDABLE_ECREG_PAYOUT_SCRIPT
ProofRef buildRandomProof(Chainstate &active_chainstate, uint32_t score, int height, const CKey &masterKey)
constexpr uint32_t MIN_VALID_PROOF_SCORE
bool hasDustStake(const ProofRef &proof)
static ProofRef buildWithReversedOrderStakes(ProofBuilder &pb)
static ProofRef buildDuplicatedStakes(ProofBuilder &pb)
static LimitedProofId getReverseOrderLimitedProofId(ProofBuilder &pb)
static LimitedProofId getDuplicatedStakeLimitedProofId(ProofBuilder &pb)