CatapultServer  v0.5.0.1 (Elephant)
AggregateBlockStorage.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "BlockChangeSubscriber.h"
23 #include "BlockStorage.h"
24 
25 namespace catapult { namespace io {
26 
28  std::unique_ptr<BlockStorage> CreateAggregateBlockStorage(
29  std::unique_ptr<BlockStorage>&& pStorage,
30  std::unique_ptr<BlockChangeSubscriber>&& pBlockChangeSubscriber);
31 }}
catapult::Height
utils::BaseValue< uint64_t, Height_tag > Height
Definition: src/catapult/types.h:85
BlockStorage.h
BlockChangeSubscriber.h
AggregateBlockStorage.h
catapult::io::CreateAggregateBlockStorage
std::unique_ptr< BlockStorage > CreateAggregateBlockStorage(std::unique_ptr< BlockStorage > &&pStorage, std::unique_ptr< BlockChangeSubscriber > &&pBlockChangeSubscriber)
Creates an aggregate block storage that delegates to pStorage and publishes block changes to pBlockCh...
Definition: AggregateBlockStorage.cpp:80
catapult::model::HashRange
EntityRange< Hash256 > HashRange
An entity range composed of hashes.
Definition: RangeTypes.h:35
m_pBlockChangeSubscriber
std::unique_ptr< BlockChangeSubscriber > m_pBlockChangeSubscriber
Definition: AggregateBlockStorage.cpp:76
catapult
Definition: AddressExtractionExtension.cpp:28
m_pStorage
std::unique_ptr< BlockStorage > m_pStorage
Definition: AggregateBlockStorage.cpp:75