CatapultServer  v0.5.0.1 (Elephant)
BlockStorageChangeSubscriber.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "BlockChangeSubscriber.h"
23 #include <memory>
24 
25 namespace catapult { namespace io { class LightBlockStorage; } }
26 
27 namespace catapult { namespace io {
28 
30  std::unique_ptr<BlockChangeSubscriber> CreateBlockStorageChangeSubscriber(std::unique_ptr<LightBlockStorage>&& pStorage);
31 }}
catapult::io::CreateBlockStorageChangeSubscriber
std::unique_ptr< BlockChangeSubscriber > CreateBlockStorageChangeSubscriber(std::unique_ptr< LightBlockStorage > &&pStorage)
Creates a block change subscriber around a block storage (pStorage).
Definition: BlockStorageChangeSubscriber.cpp:46
catapult::Height
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
BlockStorage.h
BlockChangeSubscriber.h
m_pStorage
std::unique_ptr< LightBlockStorage > m_pStorage
Definition: BlockStorageChangeSubscriber.cpp:42
catapult
Definition: AddressExtractionExtension.cpp:28
BlockStorageChangeSubscriber.h