CatapultServer  v0.5.0.1 (Elephant)
catapult::extensions::LocalNodeStateRef Struct Reference

A reference to a local node's basic state. More...

Collaboration diagram for catapult::extensions::LocalNodeStateRef:

Public Member Functions

 LocalNodeStateRef (const config::CatapultConfiguration &config, state::CatapultState &state, cache::CatapultCache &cache, io::BlockStorageCache &storage, LocalNodeChainScore &score)
 

Public Attributes

const config::CatapultConfigurationConfig
 Catapult configuration. More...
 
state::CatapultStateState
 Local node state. More...
 
cache::CatapultCacheCache
 Local node cache. More...
 
io::BlockStorageCacheStorage
 Local node storage. More...
 
LocalNodeChainScoreScore
 Local node score. More...
 

Detailed Description

A reference to a local node's basic state.

Constructor & Destructor Documentation

◆ LocalNodeStateRef()

catapult::extensions::LocalNodeStateRef::LocalNodeStateRef ( const config::CatapultConfiguration config,
state::CatapultState state,
cache::CatapultCache cache,
io::BlockStorageCache storage,
LocalNodeChainScore score 
)
inline

Creates a local node state ref referencing state composed of config, state, cache, storage and score.

Member Data Documentation

◆ Cache

cache::CatapultCache& catapult::extensions::LocalNodeStateRef::Cache

Local node cache.

◆ Config

const config::CatapultConfiguration& catapult::extensions::LocalNodeStateRef::Config

Catapult configuration.

◆ Score

LocalNodeChainScore& catapult::extensions::LocalNodeStateRef::Score

Local node score.

◆ State

state::CatapultState& catapult::extensions::LocalNodeStateRef::State

Local node state.

◆ Storage

io::BlockStorageCache& catapult::extensions::LocalNodeStateRef::Storage

Local node storage.


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