Bitcoin ABC  0.26.3
P2P Digital Currency
Public Member Functions | Static Public Member Functions | List of all members
avalanche::LimitedProofId Struct Reference

#include <proofid.h>

Inheritance diagram for avalanche::LimitedProofId:
[legend]
Collaboration diagram for avalanche::LimitedProofId:
[legend]

Public Member Functions

 LimitedProofId ()
 
 LimitedProofId (const uint256 &b)
 
ProofId computeProofId (const CPubKey &proofMaster) const
 
- Public Member Functions inherited from uint256
constexpr uint256 ()
 
constexpr uint256 (uint8_t v)
 
 uint256 (const std::vector< uint8_t > &vch)
 
- Public Member Functions inherited from base_blob< 256 >
constexpr base_blob ()
 
constexpr base_blob (uint8_t v)
 
 base_blob (const std::vector< uint8_t > &vch)
 
bool IsNull () const
 
void SetNull ()
 
int Compare (const base_blob &other) const
 
std::string GetHex () const
 
void SetHex (const char *psz)
 
void SetHex (const std::string &str)
 
std::string ToString () const
 
const uint8_t * data () const
 
uint8_t * data ()
 
uint8_t * begin ()
 
const uint8_t * begin () const
 
uint8_t * end ()
 
const uint8_t * end () const
 
unsigned int size () const
 
uint64_t GetUint64 (int pos) const
 
void Serialize (Stream &s) const
 
void Unserialize (Stream &s)
 

Static Public Member Functions

static LimitedProofId fromHex (const std::string &str)
 

Additional Inherited Members

- Static Public Attributes inherited from uint256
static const uint256 ZERO
 
static const uint256 ONE
 
- Protected Attributes inherited from base_blob< 256 >
uint8_t m_data [WIDTH]
 
- Static Protected Attributes inherited from base_blob< 256 >
static constexpr int WIDTH
 

Detailed Description

Definition at line 28 of file proofid.h.

Constructor & Destructor Documentation

◆ LimitedProofId() [1/2]

avalanche::LimitedProofId::LimitedProofId ( )
inlineexplicit

Definition at line 29 of file proofid.h.

◆ LimitedProofId() [2/2]

avalanche::LimitedProofId::LimitedProofId ( const uint256 b)
inlineexplicit

Definition at line 30 of file proofid.h.

Member Function Documentation

◆ computeProofId()

ProofId avalanche::LimitedProofId::computeProofId ( const CPubKey proofMaster) const

Definition at line 12 of file proofid.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fromHex()

static LimitedProofId avalanche::LimitedProofId::fromHex ( const std::string &  str)
inlinestatic

Definition at line 32 of file proofid.h.

Here is the call graph for this function:

The documentation for this struct was generated from the following files: