CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
27 namespace cache {
class ReadOnlyCatapultCache; }
28 namespace state {
class MosaicEntry; }
31 namespace catapult {
namespace validators {
42 cache::MosaicCacheView::const_iterator,
43 cache::MosaicCacheDelta::const_iterator
const cache::ReadOnlyCatapultCache & m_cache
Definition: ActiveMosaicView.h:54
Synchronized cache composed of mosaic information.
Definition: MosaicCache.h:33
constexpr bool IsValidationResultSuccess(ValidationResult result)
Returns a value indicating whether the validation result is a success.
Definition: ValidationResult.h:90
ValidationResult
Enumeration of all possible validation results.
Definition: ValidationResult.h:51
const TCache::CacheReadOnlyType & sub() const
Gets a specific sub cache read-only view.
Definition: ReadOnlyCatapultCache.h:35
Find iterator returned by ReadOnlyArtifactCache::find.
Definition: ReadOnlyArtifactCache.h:33
validators::ValidationResult tryGet(MosaicId id, Height height, FindIterator &iter) const
Tries to get an entry iterator (iter) for an active mosaic with id at height.
Definition: ActiveMosaicView.cpp:30
const TValue & get() const
Gets a const value.
Definition: ReadOnlyArtifactCache.h:53
Definition: AddressExtractionExtension.cpp:28
ActiveMosaicView(const cache::ReadOnlyCatapultCache &cache)
Creates a view around cache.
Definition: ActiveMosaicView.cpp:27
const cache::CatapultCache & m_cache
Definition: JointValidator.cpp:84
A read-only overlay on top of a catapult cache.
Definition: ReadOnlyCatapultCache.h:27
A view on top of a catapult cache cache for retrieving active mosaics.
Definition: ActiveMosaicView.h:34