CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::HashCachePrimarySerializer Struct Reference

Primary serializer for hash cache. More...

Static Public Member Functions

static std::string SerializeValue (const typename state::TimestampedHash &)
 
static uint64_t KeyToBoundary (const state::TimestampedHash &timestampedHash)
 Converts timestampedHash to pruning boundary. More...
 

Detailed Description

Primary serializer for hash cache.

Member Function Documentation

◆ KeyToBoundary()

static uint64_t catapult::cache::HashCachePrimarySerializer::KeyToBoundary ( const state::TimestampedHash timestampedHash)
inlinestatic

Converts timestampedHash to pruning boundary.

Here is the call graph for this function:

◆ SerializeValue()

static std::string catapult::cache::HashCachePrimarySerializer::SerializeValue ( const typename state::TimestampedHash )
inlinestatic

Serializes to string.

Note
Returns empty value because serialized key is actual value.

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