CatapultServer
v0.5.0.1 (Elephant)
|
void Read(TIo &input, utils::BasicBaseValue< TValue, TTag, TBaseValue > &value)
Reads base value from input.
Definition: PodIoUtils.h:60
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
Policy for saving and loading block difficulty cache data.
Definition: BlockDifficultyCacheStorage.h:28
Defines cache storage for cache with basic insert remove support.
Definition: src/catapult/cache/CacheStorageInclude.h:51
Definition: BlockDifficultyInfo.h:28
static void Save(const ValueType &info, io::OutputStream &output)
Saves info to output.
Definition: BlockDifficultyCacheStorage.cpp:27
def info(*args)
Definition: forwardsValidation.py:12
static void Purge(const ValueType &info, DestinationType &cacheDelta)
Purges value from cacheDelta.
Definition: BlockDifficultyCacheStorage.cpp:41
void Write(TIo &output, const utils::BasicBaseValue< TValue, TTag, TBaseValue > &value)
Writes base value into output.
Definition: PodIoUtils.h:30
typename BlockDifficultyCacheDescriptor ::CacheDeltaType DestinationType
Cache delta type.
Definition: src/catapult/cache/CacheStorageInclude.h:40
Definition: AddressExtractionExtension.cpp:28
typename BlockDifficultyCacheDescriptor ::ValueType ValueType
Cache value type.
Definition: src/catapult/cache/CacheStorageInclude.h:46
Writer interface.
Definition: Stream.h:41
static state::BlockDifficultyInfo Load(io::InputStream &input)
Loads a single value from input.
Definition: BlockDifficultyCacheStorage.cpp:33