CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::BlockDifficultyCacheTypes Struct Reference
Inheritance diagram for catapult::cache::BlockDifficultyCacheTypes:
Collaboration diagram for catapult::cache::BlockDifficultyCacheTypes:

Classes

struct  Options
 Custom sub view options. More...
 

Public Types

using CacheReadOnlyType = ReadOnlySimpleCache< BasicBlockDifficultyCacheView, BasicBlockDifficultyCacheDelta, state::BlockDifficultyInfo >
 
- Public Types inherited from catapult::cache::SingleSetCacheTypesAdapter< MutableOrderedMemorySetAdapter< BlockDifficultyCacheDescriptor >, std::true_type >
using PrimaryTypes = MutableOrderedMemorySetAdapter< BlockDifficultyCacheDescriptor >
 

Additional Inherited Members

- Protected Member Functions inherited from catapult::cache::CacheDatabaseMixin
 CacheDatabaseMixin (const CacheConfiguration &config, const std::vector< std::string > &columnFamilyNames, FilterPruningMode pruningMode=FilterPruningMode::Disabled)
 Creates a mixin around config and columnFamilyNames with optional pruningMode. More...
 
bool hasPatriciaTreeSupport () const
 Returns true if patricia tree support is enabled. More...
 
CacheDatabase & database ()
 Gets the database. More...
 
void flush ()
 Flushes the database. More...
 
- Static Protected Member Functions inherited from catapult::cache::CacheDatabaseMixin
static deltaset::ConditionalContainerMode GetContainerMode (const CacheConfiguration &config)
 Gets the container mode specified by config. More...
 

Detailed Description

Block difficulty cache types.

Note
Mutable because time and difficulty can change for same height.

Member Typedef Documentation

◆ CacheReadOnlyType


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