CatapultServer  v0.5.0.1 (Elephant)
LocalNodeStateFileStorage.cpp File Reference
Include dependency graph for LocalNodeStateFileStorage.cpp:

Namespaces

 catapult
 
 catapult::extensions
 

Functions

bool catapult::extensions::HasSerializedState (const config::CatapultDirectory &directory)
 Returns true if serialized state is present in directory. More...
 
StateHeights catapult::extensions::LoadStateFromDirectory (const config::CatapultDirectory &directory, const LocalNodeStateRef &stateRef, const plugins::PluginManager &pluginManager)
 Loads catapult state into stateRef from directory given pluginManager. More...
 
void catapult::extensions::SaveStateToDirectoryWithCheckpointing (const config::CatapultDataDirectory &dataDirectory, const config::NodeConfiguration &nodeConfig, const cache::CatapultCache &cache, const state::CatapultState &state, const model::ChainScore &score)
 Serializes state composed of cache, state and score with checkpointing to dataDirectory given nodeConfig. More...