![]() |
Bitcoin ABC
0.26.3
P2P Digital Currency
|
#include <delegationbuilder.h>
Public Member Functions | |
DelegationBuilder (const LimitedProofId <dProofId, const CPubKey &proofMaster) | |
DelegationBuilder (const Proof &p) | |
DelegationBuilder (const Delegation &dg) | |
bool | addLevel (const CKey &delegatorKey, const CPubKey &delegatedPubKey) |
Delegation | build () const |
Private Member Functions | |
DelegationBuilder (const LimitedProofId <dProofId, const CPubKey &proofMaster, const DelegationId &delegationId) | |
Private Attributes | |
LimitedProofId | limitedProofid |
DelegationId | dgid |
std::vector< Delegation::Level > | levels |
Definition at line 20 of file delegationbuilder.h.
|
private |
Definition at line 15 of file delegationbuilder.cpp.
avalanche::DelegationBuilder::DelegationBuilder | ( | const LimitedProofId & | ltdProofId, |
const CPubKey & | proofMaster | ||
) |
Definition at line 22 of file delegationbuilder.cpp.
|
explicit |
Definition at line 27 of file delegationbuilder.cpp.
|
explicit |
Definition at line 31 of file delegationbuilder.cpp.
bool avalanche::DelegationBuilder::addLevel | ( | const CKey & | delegatorKey, |
const CPubKey & | delegatedPubKey | ||
) |
Definition at line 40 of file delegationbuilder.cpp.
Delegation avalanche::DelegationBuilder::build | ( | ) | const |
|
private |
Definition at line 22 of file delegationbuilder.h.
|
private |
Definition at line 24 of file delegationbuilder.h.
|
private |
Definition at line 21 of file delegationbuilder.h.