CatapultServer  v0.5.0.1 (Elephant)
LocalNodeStateFileStorage.h File Reference
Include dependency graph for LocalNodeStateFileStorage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  catapult::extensions::StateHeights
 Information about state heights. More...
 
class  catapult::extensions::LocalNodeStateSerializer
 Serializes local node state. More...
 

Namespaces

 catapult
 
 catapult::cache
 
 catapult::config
 
 catapult::extensions
 
 catapult::model
 
 catapult::plugins
 
 catapult::state
 

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...