CatapultServer
v0.5.0.1 (Elephant)
|
A reference to a local node's basic state. More...
Public Member Functions | |
LocalNodeStateRef (const config::CatapultConfiguration &config, state::CatapultState &state, cache::CatapultCache &cache, io::BlockStorageCache &storage, LocalNodeChainScore &score) | |
Public Attributes | |
const config::CatapultConfiguration & | Config |
Catapult configuration. More... | |
state::CatapultState & | State |
Local node state. More... | |
cache::CatapultCache & | Cache |
Local node cache. More... | |
io::BlockStorageCache & | Storage |
Local node storage. More... | |
LocalNodeChainScore & | Score |
Local node score. More... | |
A reference to a local node's basic state.
|
inline |
Creates a local node state ref referencing state composed of config, state, cache, storage and score.
cache::CatapultCache& catapult::extensions::LocalNodeStateRef::Cache |
Local node cache.
const config::CatapultConfiguration& catapult::extensions::LocalNodeStateRef::Config |
Catapult configuration.
LocalNodeChainScore& catapult::extensions::LocalNodeStateRef::Score |
Local node score.
state::CatapultState& catapult::extensions::LocalNodeStateRef::State |
Local node state.
io::BlockStorageCache& catapult::extensions::LocalNodeStateRef::Storage |
Local node storage.