CatapultServer  v0.5.0.1 (Elephant)
AggregatePtCache.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "PtCache.h"
23 #include "PtChangeSubscriber.h"
24 
25 namespace catapult { namespace cache {
26 
28  std::unique_ptr<PtCache> CreateAggregatePtCache(PtCache& ptCache, std::unique_ptr<PtChangeSubscriber>&& pPtChangeSubscriber);
29 }}
catapult::cache::CreateAggregatePtCache
std::unique_ptr< PtCache > CreateAggregatePtCache(PtCache &ptCache, std::unique_ptr< PtChangeSubscriber > &&pPtChangeSubscriber)
Creates an aggregate pt cache that delegates to ptCache and publishes pt transaction changes to pPtCh...
Definition: AggregatePtCache.cpp:90
catapult::Hash256
utils::ByteArray< Hash256_Size, Hash256_tag > Hash256
Definition: src/catapult/types.h:47
AggregatePtCache.h
catapult::cache::BasicAggregateTransactionsCacheModifier::add
bool add(const TransactionInfoType &transactionInfo) override
Definition: BasicAggregateTransactionsCache.h:56
BasicAggregateTransactionsCache.h
catapult::cache::PtChangeSubscriber::TransactionInfos
model::TransactionInfosSet TransactionInfos
Definition: PtChangeSubscriber.h:30
PtChangeSubscriber.h
catapult::Timestamp
utils::BaseValue< uint64_t, Timestamp_tag > Timestamp
Definition: src/catapult/types.h:73
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::cache::PtCache
An interface for caching partial transactions.
Definition: PtCache.h:71
catapult::Key
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41
PtCache.h
catapult::cache::BasicAggregateTransactionsCacheModifier::BasicAggregateTransactionsCacheModifier
BasicAggregateTransactionsCacheModifier(CacheModifierProxyType &&modifier, ChangeSubscriberType &subscriber)
Creates an aggregate transactions cache modifier around modifier and subscriber.
Definition: BasicAggregateTransactionsCache.h:41