Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/proof.h
Show All 19 Lines | |||||
/** | /** | ||||
* How many UTXOs can be used for a single proof. | * How many UTXOs can be used for a single proof. | ||||
*/ | */ | ||||
static constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000; | static constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000; | ||||
namespace avalanche { | namespace avalanche { | ||||
/** Minimum amount per utxo */ | |||||
static constexpr Amount PROOF_DUST_THRESHOLD = 1 * COIN; | |||||
class ProofValidationState; | class ProofValidationState; | ||||
class Stake { | class Stake { | ||||
COutPoint utxo; | COutPoint utxo; | ||||
Amount amount; | Amount amount; | ||||
uint32_t height; | uint32_t height; | ||||
CPubKey pubkey; | CPubKey pubkey; | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |