veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
Definition at line 143 of file block_provider_impl.hpp.
Public Member Functions | |
BlockReaderImpl (Storage &storage, const AltChainParams ¶ms) | |
bool | getAltTip (AltBlock::hash_t &out) const override |
bool | getVbkTip (VbkBlock::hash_t &out) const override |
bool | getBtcTip (BtcBlock::hash_t &out) const override |
bool | getBlock (const AltBlock::prev_hash_t &hash, StoredBlockIndex< AltBlock > &out) const override |
bool | getBlock (const VbkBlock::prev_hash_t &hash, StoredBlockIndex< VbkBlock > &out) const override |
bool | getBlock (const BtcBlock::prev_hash_t &hash, StoredBlockIndex< BtcBlock > &out) const override |
std::shared_ptr< BlockIterator< AltBlock > > | getAltBlockIterator () const override |
std::shared_ptr< BlockIterator< VbkBlock > > | getVbkBlockIterator () const override |
std::shared_ptr< BlockIterator< BtcBlock > > | getBtcBlockIterator () const override |
Public Member Functions inherited from altintegration::BlockReader | |
virtual bool | getAltTip (AltBlock::hash_t &out) const =0 |
virtual bool | getVbkTip (VbkBlock::hash_t &out) const =0 |
virtual bool | getBtcTip (BtcBlock::hash_t &out) const =0 |
virtual bool | getBlock (const AltBlock::prev_hash_t &hash, StoredBlockIndex< AltBlock > &out) const =0 |
virtual bool | getBlock (const VbkBlock::prev_hash_t &hash, StoredBlockIndex< VbkBlock > &out) const =0 |
virtual bool | getBlock (const BtcBlock::prev_hash_t &hash, StoredBlockIndex< BtcBlock > &out) const =0 |
virtual std::shared_ptr< BlockIterator< AltBlock > > | getAltBlockIterator () const =0 |
virtual std::shared_ptr< BlockIterator< VbkBlock > > | getVbkBlockIterator () const =0 |
virtual std::shared_ptr< BlockIterator< BtcBlock > > | getBtcBlockIterator () const =0 |
template<typename Block > | |
std::shared_ptr< BlockIterator< Block > > | getBlockIterator () const |
template<typename Block > | |
bool | getTip (typename Block::hash_t &out) const |
template<> | |
std::shared_ptr< BlockIterator< AltBlock > > | getBlockIterator () const |
template<> | |
bool | getTip (AltBlock::hash_t &out) const |
template<> | |
bool | getTip (VbkBlock::hash_t &out) const |
template<> | |
bool | getTip (BtcBlock::hash_t &out) const |
|
inline |
Definition at line 146 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 189 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 149 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 174 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 184 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 179 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 199 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 165 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 194 of file block_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::BlockReader.
Definition at line 157 of file block_provider_impl.hpp.