veriblock-pop-cpp
C++11 Libraries for leveraging VeriBlock Proof-Of-Proof blockchain technology.
altintegration::ProgpowHeaderCache Struct Referenceabstract

Detailed Description

Definition at line 13 of file progpow_header_cache_provider.hpp.

+ Inheritance diagram for altintegration::ProgpowHeaderCache:
+ Collaboration diagram for altintegration::ProgpowHeaderCache:

Public Member Functions

virtual bool get (const uint256 &key, uint192 &value) const =0
 
bool tryGet (const uint256 &key, uint192 &value) override
 
void clear () override
 
- Public Member Functions inherited from altintegration::ProgpowHeaderCacheI
virtual void insert (const uint256 &key, uint192 value)=0
 
virtual bool tryGet (const uint256 &key, uint192 &value)=0
 
virtual void clear ()=0
 

Member Function Documentation

◆ clear()

void altintegration::ProgpowHeaderCache::clear ( )
inlineoverridevirtual

Implements altintegration::ProgpowHeaderCacheI.

Definition at line 23 of file progpow_header_cache_provider.hpp.

23{}

◆ tryGet()

bool altintegration::ProgpowHeaderCache::tryGet ( const uint256 key,
uint192 value 
)
inlineoverridevirtual

Implements altintegration::ProgpowHeaderCacheI.

Definition at line 19 of file progpow_header_cache_provider.hpp.

19 {
20 return this->get(key, value);
21 }

The documentation for this struct was generated from the following file: