CatapultServer  v0.5.0.1 (Elephant)
StateChangeRepairingSubscriber.h
Go to the documentation of this file.
1 
21 #pragma once
23 #include <memory>
24 
25 namespace catapult {
26  namespace cache { class CatapultCache; }
27  namespace extensions { class LocalNodeChainScore; }
28 }
29 
30 namespace catapult { namespace local {
31 
33  std::unique_ptr<subscribers::StateChangeSubscriber> CreateStateChangeRepairingSubscriber(
34  cache::CatapultCache& cache,
35  extensions::LocalNodeChainScore& localNodeScore);
36 }}
m_localNodeScore
extensions::LocalNodeChainScore & m_localNodeScore
Definition: StateChangeRepairingSubscriber.cpp:54
CacheChangesStorage.h
StateChangeInfo.h
StateChangeRepairingSubscriber.h
catapult::cache::CatapultCache
Central cache holding all sub caches.
Definition: CatapultCache.h:40
CatapultCache.h
m_cache
cache::CatapultCache & m_cache
Definition: StateChangeRepairingSubscriber.cpp:53
catapult::local::CreateStateChangeRepairingSubscriber
std::unique_ptr< subscribers::StateChangeSubscriber > CreateStateChangeRepairingSubscriber(cache::CatapultCache &cache, extensions::LocalNodeChainScore &localNodeScore)
Creates state change repairing subscriber around cache and localNodeScore.
Definition: StateChangeRepairingSubscriber.cpp:58
catapult::extensions::LocalNodeChainScore
Definition: LocalNodeChainScore.h:29
ChainScore
model::ChainScore ChainScore
Definition: tools/health/main.cpp:43
catapult
Definition: AddressExtractionExtension.cpp:28
LocalNodeChainScore.h
StateChangeSubscriber.h