Bitcoin ABC  0.24.10
P2P Digital Currency
Classes | Namespaces | Typedefs | Variables
proof.h File Reference
#include <amount.h>
#include <avalanche/proofid.h>
#include <key.h>
#include <primitives/transaction.h>
#include <pubkey.h>
#include <serialize.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
 

Namespaces

 avalanche
 

Typedefs

using avalanche::StakeId = uint256
 
using avalanche::ProofRef = std::shared_ptr< const Proof >
 

Variables

static constexpr int AVALANCHE_MAX_PROOF_STAKES = 1000
 How many UTXOs can be used for a single proof. More...
 
static constexpr bool AVALANCHE_DEFAULT_LEGACY_PROOF = true
 Whether the legacy proof format should be used by default. More...
 
static constexpr Amount avalanche::PROOF_DUST_THRESHOLD = 1 * COIN
 Minimum amount per utxo. More...
 

Variable Documentation

◆ AVALANCHE_DEFAULT_LEGACY_PROOF

constexpr bool AVALANCHE_DEFAULT_LEGACY_PROOF = true
staticconstexpr

Whether the legacy proof format should be used by default.

Definition at line 32 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 27 of file proof.h.