veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
Definition at line 88 of file block_provider_impl.hpp.
Public Member Functions | |
BlockIteratorImpl (std::shared_ptr< StorageIterator > it, const AltChainParams ¶ms) | |
void | next () override |
Iterate to the next block. More... | |
bool | value (StoredBlockIndex< BlockT > &out) const override |
Return the current block value. More... | |
bool | key (typename BlockT::hash_t &out) const override |
Return the current block hash key. More... | |
bool | valid () const override |
Return if valid iterator or not. More... | |
void | seek_start () override |
Set iterator to the start of the collection. More... | |
virtual void | next ()=0 |
Iterate to the next block. More... | |
virtual bool | value (StoredBlockIndex< BlockT > &out) const =0 |
Return the current block value. More... | |
virtual bool | key (prev_hash_t &out) const =0 |
Return the current block hash key. More... | |
virtual bool | valid () const =0 |
Return if valid iterator or not. More... | |
virtual void | seek_start ()=0 |
Set iterator to the start of the collection. More... | |
Additional Inherited Members | |
Public Types inherited from altintegration::BlockIterator< BlockT > | |
using | prev_hash_t = typename BlockT::hash_t |
|
inline |
Definition at line 91 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
[out] | out | block hash |
Implements altintegration::BlockIterator< BlockT >.
Definition at line 115 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockIterator< BlockT >.
Definition at line 95 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockIterator< BlockT >.
Definition at line 132 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockIterator< BlockT >.
Definition at line 125 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
[out] | out | block, altintegration::StoredBlockIndex |
Implements altintegration::BlockIterator< BlockT >.
Definition at line 97 of file block_provider_impl.hpp.