Atlchain endorsement.
More...
Definition at line 36 of file atv.hpp.
#include <atv.hpp>
|
std::string | toPrettyString () const |
| create pretty string
|
|
std::string | toShortPrettyString () const |
|
void | toVbkEncoding (WriteStream &stream) const |
| Convert ATV to data stream using Vbk byte format. More...
|
|
std::vector< uint8_t > | toVbkEncoding () const |
| Convert ATV to raw bytes data using Vbk byte format. More...
|
|
size_t | estimateSize () const |
| Estimate serialization size.
|
|
id_t | getId () const |
| Calculate a ATV id that is the sha256 hash of the ATV rawBytes. More...
|
|
|
static const std::string & | name () |
|
◆ id_t
◆ getId()
id_t altintegration::ATV::getId |
( |
| ) |
const |
◆ name()
static const std::string & altintegration::ATV::name |
( |
| ) |
|
|
inlinestatic |
◆ toVbkEncoding() [1/2]
std::vector< uint8_t > altintegration::ATV::toVbkEncoding |
( |
| ) |
const |
◆ toVbkEncoding() [2/2]
void altintegration::ATV::toVbkEncoding |
( |
WriteStream & |
stream | ) |
const |
- Parameters
-
stream | data stream to write into |
◆ operator!=
bool operator!= |
( |
const ATV & |
a, |
|
|
const ATV & |
b |
|
) |
| |
|
friend |
◆ operator<
bool operator< |
( |
const ATV & |
a, |
|
|
const ATV & |
b |
|
) |
| |
|
friend |
Definition at line 87 of file atv.hpp.
87 {
88 return a.blockOfProof.getHeight() < b.blockOfProof.getHeight();
89 }
◆ operator==
bool operator== |
( |
const ATV & |
a, |
|
|
const ATV & |
b |
|
) |
| |
|
friend |
Definition at line 81 of file atv.hpp.
81 {
82 return a.getId() == b.getId();
83 }
◆ blockOfProof
VbkBlock altintegration::ATV::blockOfProof {} |
◆ checked
bool altintegration::ATV::checked {false} |
|
mutable |
◆ merklePath
◆ transaction
VbkTx altintegration::ATV::transaction {} |
◆ version
uint32_t altintegration::ATV::version = 1 |
The documentation for this class was generated from the following file:
- include/veriblock/pop/entities/atv.hpp