Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Variables
proof.h File Reference
#include <avalanche/proofid.h>
#include <consensus/amount.h>
#include <key.h>
#include <primitives/transaction.h>
#include <pubkey.h>
#include <rcu.h>
#include <serialize.h>
#include <util/hasher.h>
#include <validation.h>
#include <array>
#include <cstdint>
#include <optional>
#include <vector>
Include dependency graph for proof.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  avalanche::StakeCommitment
 
class  avalanche::Stake
 
class  avalanche::SignedStake
 
class  avalanche::Proof
 
class  avalanche::SaltedProofHasher
 

Namespaces

namespace  avalanche
 

Typedefs

using avalanche::StakeId = uint256
 
using avalanche::ProofRef = RCUPtr< const Proof >
 

Variables

static constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000
 How many UTXOs can be used for a single proof.
 
static constexpr int AVALANCHE_DEFAULT_STAKE_UTXO_CONFIRMATIONS = 2016
 Minimum number of confirmations before a stake utxo is mature enough to be included into a proof.
 
static constexpr Amount avalanche::PROOF_DUST_THRESHOLD = 100 * COIN
 Minimum amount per utxo.
 

Variable Documentation

◆ AVALANCHE_DEFAULT_STAKE_UTXO_CONFIRMATIONS

constexpr int AVALANCHE_DEFAULT_STAKE_UTXO_CONFIRMATIONS = 2016
staticconstexpr

Minimum number of confirmations before a stake utxo is mature enough to be included into a proof.

Definition at line 35 of file proof.h.

◆ AVALANCHE_MAX_PROOF_STAKES

constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000
staticconstexpr

How many UTXOs can be used for a single proof.

Definition at line 29 of file proof.h.