|
veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
"endorsed hash" is a block hash that is endorsed by POP TX. "block of proof" is a block from protecting chain that contains a tx with proof. "containing hash" is a block which contains POP TX which endorses "endorsed block"
| EndorsedHash | |
| ContainingHash | |
| Container |
Definition at line 37 of file endorsement.hpp.
#include <endorsement.hpp>
Collaboration diagram for altintegration::Endorsement< EndorsedHash, ContainingHash, Container >:Public Types | |
| using | type = Endorsement< EndorsedHash, ContainingHash, Container > |
| using | id_t = uint256 |
| using | endorsed_hash_t = EndorsedHash |
| using | containing_hash_t = ContainingHash |
| using | container_t = Container |
Public Member Functions | |
| void | toVbkEncoding (WriteStream &stream) const |
| std::vector< uint8_t > | toVbkEncoding () const |
| type::id_t | getId () const |
| bool | operator== (const type &other) const |
| bool | operator!= (const type &other) const |
| std::string | toPrettyString (size_t level=0) const |
Static Public Member Functions | |
| static type | fromContainer (const Container &c) |
| static type | fromContainer (const Container &c, const EndorsedHash &containingHash, const EndorsedHash &endorsedHash) |
| static std::shared_ptr< type > | fromContainerPtr (const Container &c, const EndorsedHash &containingHash, const EndorsedHash &endorsedHash) |
| static std::shared_ptr< type > | fromContainerPtr (const Container &c) |
| static type::id_t | getId (const Container &c) |
| static const std::string | name () |
Public Attributes | |
| id_t | id |
| EndorsedHash | endorsedHash |
| EndorsedHash | containingHash |
| ContainingHash | blockOfProof |
Friends | |
| bool | operator< (const type &a, const type &b) |
| using altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::container_t = Container |
Definition at line 42 of file endorsement.hpp.
| using altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::containing_hash_t = ContainingHash |
Definition at line 41 of file endorsement.hpp.
| using altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::endorsed_hash_t = EndorsedHash |
Definition at line 40 of file endorsement.hpp.
| using altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::id_t = uint256 |
Definition at line 39 of file endorsement.hpp.
| using altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::type = Endorsement<EndorsedHash, ContainingHash, Container> |
Definition at line 38 of file endorsement.hpp.
|
inlinestatic |
Definition at line 77 of file endorsement.hpp.
|
inlinestatic |
Definition at line 69 of file endorsement.hpp.
|
inline |
Definition at line 83 of file endorsement.hpp.
|
inline |
Definition at line 97 of file endorsement.hpp.
|
inline |
Definition at line 85 of file endorsement.hpp.
|
inline |
Definition at line 99 of file endorsement.hpp.
|
inline |
Definition at line 57 of file endorsement.hpp.
|
inline |
Definition at line 50 of file endorsement.hpp.
|
friend |
Definition at line 87 of file endorsement.hpp.
| ContainingHash altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::blockOfProof |
Definition at line 48 of file endorsement.hpp.
| EndorsedHash altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::containingHash |
Definition at line 47 of file endorsement.hpp.
| EndorsedHash altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::endorsedHash |
Definition at line 46 of file endorsement.hpp.
| id_t altintegration::Endorsement< EndorsedHash, ContainingHash, Container >::id |
Definition at line 45 of file endorsement.hpp.