Changeset View
Changeset View
Standalone View
Standalone View
src/avalanche/proof.h
Show All 26 Lines | |||||
*/ | */ | ||||
static constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000; | static constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000; | ||||
/** | /** | ||||
* Whether the legacy proof format should be used by default. | * Whether the legacy proof format should be used by default. | ||||
*/ | */ | ||||
static constexpr bool AVALANCHE_DEFAULT_LEGACY_PROOF = true; | static constexpr bool AVALANCHE_DEFAULT_LEGACY_PROOF = true; | ||||
/** | |||||
* Minimum number of confirmations before a stake utxo is mature enough to be | |||||
* included into a proof. | |||||
*/ | |||||
static constexpr int AVALANCHE_DEFAULT_STAKE_UTXO_CONFIRMATIONS = 2016; | |||||
namespace avalanche { | namespace avalanche { | ||||
/** Minimum amount per utxo */ | /** Minimum amount per utxo */ | ||||
static constexpr Amount PROOF_DUST_THRESHOLD = 1 * COIN; | static constexpr Amount PROOF_DUST_THRESHOLD = 1 * COIN; | ||||
class ProofValidationState; | class ProofValidationState; | ||||
using StakeId = uint256; | using StakeId = uint256; | ||||
▲ Show 20 Lines • Show All 151 Lines • Show Last 20 Lines |