|
veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
|
Definition at line 28 of file ethash_cache_provider_impl.hpp.
Inheritance diagram for altintegration::adaptors::EthashCacheImpl:
Collaboration diagram for altintegration::adaptors::EthashCacheImpl:Public Member Functions | |
| EthashCacheImpl (Storage &storage) | |
| bool | get (uint64_t epoch, std::shared_ptr< CacheEntry > out) const override |
| void | insert (uint64_t epoch, std::shared_ptr< CacheEntry > value) override |
Public Member Functions inherited from altintegration::EthashCache | |
| 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 |
|
inline |
Definition at line 31 of file ethash_cache_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::EthashCache.
Definition at line 33 of file ethash_cache_provider_impl.hpp.
|
inlineoverridevirtual |
Implements altintegration::EthashCache.
Definition at line 48 of file ethash_cache_provider_impl.hpp.