CatapultServer
v0.5.0.1 (Elephant)
|
uint64_t get() const
Gets the index value.
Definition: IndexFile.cpp:36
void reset()
Resets system state to indicate no crash.
Definition: CatapultSystemState.cpp:50
Index file containing a uint64_t value.
Definition: IndexFile.h:28
bool shouldRecoverBroker() const
true if broker should be recovered.
Definition: CatapultSystemState.cpp:35
Catapult data directory.
Definition: CatapultDataDirectory.h:61
std::string qualifyRootFile(const std::string &filename) const
Definition: CatapultSystemState.cpp:55
config::CatapultDataDirectory m_dataDirectory
Definition: CatapultSystemState.h:51
Catapult system state.
Definition: CatapultSystemState.h:28
std::string file(const std::string &name) const
Gets the path for the file with name.
Definition: CatapultDataDirectory.h:48
CatapultDirectory rootDir() const
Gets the root data directory.
Definition: CatapultDataDirectory.h:69
CatapultSystemState(const config::CatapultDataDirectory &dataDirectory)
Creates state around dataDirectory.
Definition: CatapultSystemState.cpp:32
consumers::CommitOperationStep commitStep() const
Last server commit operation step that succeeded.
Definition: CatapultSystemState.cpp:43
bool exists() const
true if the index file exists.
Definition: IndexFile.cpp:32
CommitOperationStep
Steps in a commit operation.
Definition: BlockChainSyncHandlers.h:62
Definition: AddressExtractionExtension.cpp:28
config::CatapultDataDirectory m_dataDirectory
Definition: FileSpoolingExtension.cpp:44
bool shouldRecoverServer() const
true if server should be recovered.
Definition: CatapultSystemState.cpp:39