veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
A container for two previous keystones of endorsed block. More...
A keystone is a block which satisfies a condition isKeystone(block.height) == true
.
Definition at line 32 of file keystone_container.hpp.
#include <keystone_container.hpp>
Public Member Functions | |
void | toVbkEncoding (WriteStream &stream) const |
size_t | estimateSize () const |
bool | operator== (const KeystoneContainer &o) const |
Static Public Member Functions | |
static KeystoneContainer | createFromPrevious (const BlockIndex< AltBlock > *prev, const uint32_t keystoneInterval) |
Public Attributes | |
std::vector< uint8_t > | firstPreviousKeystone |
std::vector< uint8_t > | secondPreviousKeystone |
|
inline |
Definition at line 43 of file keystone_container.hpp.
std::vector<uint8_t> altintegration::KeystoneContainer::firstPreviousKeystone |
Definition at line 33 of file keystone_container.hpp.
std::vector<uint8_t> altintegration::KeystoneContainer::secondPreviousKeystone |
Definition at line 34 of file keystone_container.hpp.