CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
28 class BasicBlockDifficultyCacheDelta;
29 class BasicBlockDifficultyCacheView;
30 class BlockDifficultyCache;
31 class BlockDifficultyCacheDelta;
32 class BlockDifficultyCacheView;
34 template<
typename TCache,
typename TCacheDelta,
typename TKey>
35 class ReadOnlySimpleCache;
39 namespace catapult {
namespace cache {
56 return blockDifficultyInfo;
79 using IteratorType = BlockDifficultyCacheTypes::PrimaryTypes::BaseSetType::SetType::MemorySetType::const_iterator;
const IteratorType m_end
Definition: BlockDifficultyCacheTypes.h:101
DifficultyInfoRange(const IteratorType &begin, const IteratorType &end)
Creates a range around two iterators begin and end.
Definition: BlockDifficultyCacheTypes.h:83
const IteratorType m_begin
Definition: BlockDifficultyCacheTypes.h:100
Describes a block difficulty cache.
Definition: BlockDifficultyCacheTypes.h:42
IteratorType begin() const
Returns an iterator that represents the first element.
Definition: BlockDifficultyCacheTypes.h:90
Definition: BlockDifficultyInfo.h:28
A range of block difficulty infos.
Definition: BlockDifficultyCacheTypes.h:77
A read-only overlay on top of a cache that provides support for contains.
Definition: HashCacheTypes.h:37
Basic view on top of the block difficulty cache.
Definition: BlockDifficultyCacheView.h:35
Custom sub view options.
Definition: BlockDifficultyCacheTypes.h:70
uint64_t DifficultyHistorySize
Difficulty history size.
Definition: BlockDifficultyCacheTypes.h:72
View on top of the block difficulty cache.
Definition: BlockDifficultyCacheView.h:58
Basic delta on top of the block difficulty cache.
Definition: BlockDifficultyCacheDelta.h:36
state::BlockDifficultyInfo KeyType
Definition: BlockDifficultyCacheTypes.h:45
Delta on top of the block difficulty cache.
Definition: BlockDifficultyCacheDelta.h:93
BlockDifficultyCacheTypes::PrimaryTypes::BaseSetType::SetType::MemorySetType::const_iterator IteratorType
Definition: BlockDifficultyCacheTypes.h:79
Definition: BlockDifficultyCacheTypes.h:62
static const auto & GetKeyFromValue(const ValueType &blockDifficultyInfo)
Gets the key corresponding to blockDifficultyInfo.
Definition: BlockDifficultyCacheTypes.h:55
Definition: AddressExtractionExtension.cpp:28
IteratorType end() const
Returns an iterator that represents one past the last element.
Definition: BlockDifficultyCacheTypes.h:95
Synchronized cache composed of block difficulty information.
Definition: BlockDifficultyCache.h:45
A cache types adapter for a cache composed of a single set.
Definition: SingleSetCacheTypesAdapter.h:31