CatapultServer  v0.5.0.1 (Elephant)
ConfirmedTimestampedHashesProducerFactory.h
Go to the documentation of this file.
1 
21 #pragma once
24 #include <vector>
25 
26 namespace catapult { namespace cache { class HashCache; } }
27 
28 namespace catapult { namespace handlers {
29 
32 
35 }}
catapult::cache::HashCache
Synchronized cache composed of timestamped hashes of (transaction) elements.
Definition: HashCache.h:49
catapult::cache::SynchronizedCache::createView
LockedCacheView< CacheViewType > createView() const
Returns a locked cache view based on this cache.
Definition: SynchronizedCache.h:218
m_pView
std::shared_ptr< ViewType > m_pView
Definition: ConfirmedTimestampedHashesProducerFactory.cpp:59
HashCache.h
catapult::hashcache::HashCache
DECLARE_SERVICE_REGISTRAR() HashCache()
Definition: HashCacheService.cpp:46
BasicProducer.h
catapult::handlers::ConfirmedTimestampedHashesProducerFactory
RawPointerProducerFactory< state::TimestampedHash, state::TimestampedHash > ConfirmedTimestampedHashesProducerFactory
Alias for creating a confirmed timestamped hashes producer given a range of hashes.
Definition: ConfirmedTimestampedHashesProducerFactory.h:31
catapult::handlers::RawPointerProducerFactory
std::function< supplier< const TEntity * >(const model::EntityRange< TIdentifier > &)> RawPointerProducerFactory
Accepts a range and returns a producer that produces specified raw pointer elements.
Definition: HandlerTypes.h:43
catapult::handlers::CreateConfirmedTimestampedHashesProducerFactory
ConfirmedTimestampedHashesProducerFactory CreateConfirmedTimestampedHashesProducerFactory(const cache::HashCache &hashCache)
Creates a confirmed timestamped hashes producer factory around hashCache.
Definition: ConfirmedTimestampedHashesProducerFactory.cpp:63
catapult::state::TimestampedHashRange
model::EntityRange< TimestampedHash > TimestampedHashRange
An entity range composed of timestamped hashes.
Definition: TimestampedHash.h:84
catapult
Definition: AddressExtractionExtension.cpp:28
HandlerTypes.h
ConfirmedTimestampedHashesProducerFactory.h
TimestampedHash.h