veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
Definition at line 13 of file ethash_cache_provider.hpp.
Public Member Functions | |
virtual bool | get (uint64_t epoch, std::shared_ptr< CacheEntry > out) const =0 |
virtual void | insert (uint64_t epoch, std::shared_ptr< CacheEntry > value)=0 |
std::shared_ptr< CacheEntry > | getOrDefault (uint64_t epoch, std::function< std::shared_ptr< CacheEntry >()> factory) override |
void | clear () override |
virtual std::shared_ptr< CacheEntry > | getOrDefault (uint64_t epoch, std::function< std::shared_ptr< CacheEntry >()> factory)=0 |
virtual void | clear ()=0 |
|
inlineoverridevirtual |
Implements altintegration::EthashCacheI.
Definition at line 34 of file ethash_cache_provider.hpp.
|
inlineoverridevirtual |
Implements altintegration::EthashCacheI.
Definition at line 22 of file ethash_cache_provider.hpp.