5#ifndef BITCOIN_AVALANCHE_PROOFBUILDER_H
6#define BITCOIN_AVALANCHE_PROOFBUILDER_H
15struct TestProofBuilder;
28 std::set<SignedStake, SignedStakeComparator>
stakes;
32 const CScript &payoutScriptPubKey_)
38 bool is_coinbase,
CKey key);
An encapsulated secp256k1 private key.
An outpoint - a combination of a transaction hash and an index n into its vout.
Serialized script, used inside transaction inputs and outputs.
bool addUTXO(COutPoint utxo, Amount amount, uint32_t height, bool is_coinbase, CKey key)
std::set< SignedStake, SignedStakeComparator > stakes
ProofId getProofId() const
LimitedProofId getLimitedProofId() const
ProofBuilder(uint64_t sequence_, int64_t expirationTime_, CKey masterKey_, const CScript &payoutScriptPubKey_)
CScript payoutScriptPubKey
const Stake & getStake() const
const StakeId & getId() const
Implement std::hash so RCUPtr can be used as a key for maps or sets.
bool operator()(const SignedStake &lhs, const SignedStake &rhs) const