CatapultServer
v0.5.0.1 (Elephant)
|
A view on top of a catapult cache cache for retrieving active mosaics. More...
Public Types | |
using | FindIterator = cache::MosaicCacheTypes::CacheReadOnlyType::ReadOnlyFindIterator< cache::MosaicCacheView::const_iterator, cache::MosaicCacheDelta::const_iterator > |
Iterator type returned by tryGet. More... | |
Public Member Functions | |
ActiveMosaicView (const cache::ReadOnlyCatapultCache &cache) | |
Creates a view around cache. More... | |
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. More... | |
validators::ValidationResult | tryGet (MosaicId id, Height height, const Key &owner, FindIterator &iter) const |
Tries to get an entry iterator (iter) for an active mosaic with id at height given its purported owner. More... | |
Private Attributes | |
const cache::ReadOnlyCatapultCache & | m_cache |
A view on top of a catapult cache cache for retrieving active mosaics.
using catapult::validators::ActiveMosaicView::FindIterator = cache::MosaicCacheTypes::CacheReadOnlyType::ReadOnlyFindIterator< cache::MosaicCacheView::const_iterator, cache::MosaicCacheDelta::const_iterator > |
Iterator type returned by tryGet.
|
explicit |
Creates a view around cache.
validators::ValidationResult catapult::validators::ActiveMosaicView::tryGet | ( | MosaicId | id, |
Height | height, | ||
const Key & | owner, | ||
FindIterator & | iter | ||
) | const |
Tries to get an entry iterator (iter) for an active mosaic with id at height given its purported owner.
validators::ValidationResult catapult::validators::ActiveMosaicView::tryGet | ( | MosaicId | id, |
Height | height, | ||
FindIterator & | iter | ||
) | const |
Tries to get an entry iterator (iter) for an active mosaic with id at height.
|
private |