Bitcoin ABC  0.22.15
P2P Digital Currency
Public Member Functions | Private Attributes | List of all members
avalanche::DelegationBuilder Class Reference

#include <delegationbuilder.h>

Collaboration diagram for avalanche::DelegationBuilder:
[legend]

Public Member Functions

 DelegationBuilder (const Proof &p)
 
bool addLevel (const CKey &key, const CPubKey &newMaster)
 
Delegation build () const
 

Private Attributes

ProofId proofid
 
DelegationId dgid
 
std::vector< Delegation::Levellevels
 

Detailed Description

Definition at line 20 of file delegationbuilder.h.

Constructor & Destructor Documentation

◆ DelegationBuilder()

avalanche::DelegationBuilder::DelegationBuilder ( const Proof p)

Definition at line 11 of file delegationbuilder.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ addLevel()

bool avalanche::DelegationBuilder::addLevel ( const CKey key,
const CPubKey newMaster 
)

Definition at line 16 of file delegationbuilder.cpp.

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

◆ build()

Delegation avalanche::DelegationBuilder::build ( ) const

Definition at line 36 of file delegationbuilder.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ dgid

DelegationId avalanche::DelegationBuilder::dgid
private

Definition at line 22 of file delegationbuilder.h.

◆ levels

std::vector<Delegation::Level> avalanche::DelegationBuilder::levels
private

Definition at line 24 of file delegationbuilder.h.

◆ proofid

ProofId avalanche::DelegationBuilder::proofid
private

Definition at line 21 of file delegationbuilder.h.


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