veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
Definition at line 48 of file payloads_provider_impl.hpp.
Public Member Functions | |
PayloadsStorageImpl (Storage &storage) | |
template<typename pop_t > | |
bool | getPayloads (const typename pop_t::id_t &id, pop_t &out, ValidationState &state) |
bool | getATV (const ATV::id_t &id, ATV &out, ValidationState &state) override |
should write ATV identified by id into out , or return false More... | |
bool | getVTB (const VTB::id_t &id, VTB &out, ValidationState &state) override |
should write VTB identified by id into out , or return false More... | |
bool | getVBK (const VbkBlock::id_t &id, VbkBlock &out, ValidationState &state) override |
should write VbkBlock identified by id into out , or return false More... | |
void | writePayloads (const PopData &payloads) override |
Public Member Functions inherited from altintegration::PayloadsStorage | |
virtual bool | getATV (const ATV::id_t &ids, ATV &out, ValidationState &state)=0 |
should write ATV identified by id into out , or return false More... | |
virtual bool | getVTB (const VTB::id_t &ids, VTB &out, ValidationState &state)=0 |
should write VTB identified by id into out , or return false More... | |
virtual bool | getVBK (const VbkBlock::id_t &id, VbkBlock &out, ValidationState &state)=0 |
should write VbkBlock identified by id into out , or return false More... | |
virtual void | writePayloads (const PopData &payloads)=0 |
bool | getPayload (const VbkBlock::id_t &id, VbkBlock &out, ValidationState &state) |
alias for getVBK More... | |
bool | getPayload (const VTB::id_t &id, VTB &out, ValidationState &state) |
alias for getVTB More... | |
bool | getPayload (const ATV::id_t &id, ATV &out, ValidationState &state) |
alias for getATV More... | |
|
inline |
Definition at line 51 of file payloads_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::PayloadsStorage.
Definition at line 74 of file payloads_provider_impl.hpp.
|
inline |
Definition at line 54 of file payloads_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::PayloadsStorage.
Definition at line 82 of file payloads_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::PayloadsStorage.
Definition at line 78 of file payloads_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::PayloadsStorage.
Definition at line 88 of file payloads_provider_impl.hpp.