CatapultServer  v0.5.0.1 (Elephant)
catapult::state::AccountStateNonHistoricalSerializer Struct Reference

Policy for saving and loading account state data without historical information. More...

Static Public Member Functions

static void Save (const AccountState &accountState, io::OutputStream &output)
 Saves accountState to output. More...
 
static AccountState Load (io::InputStream &input)
 Loads a single value from input. More...
 

Static Public Attributes

static constexpr uint16_t State_Version = 1
 Serialized state version. More...
 

Detailed Description

Policy for saving and loading account state data without historical information.

Member Function Documentation

◆ Load()

AccountState catapult::state::AccountStateNonHistoricalSerializer::Load ( io::InputStream input)
static

Loads a single value from input.

◆ Save()

void catapult::state::AccountStateNonHistoricalSerializer::Save ( const AccountState accountState,
io::OutputStream output 
)
static

Saves accountState to output.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ State_Version

constexpr uint16_t catapult::state::AccountStateNonHistoricalSerializer::State_Version = 1
staticconstexpr

Serialized state version.


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