CatapultServer  v0.5.0.1 (Elephant)
MultisigCacheUtils.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include "MultisigCacheTypes.h"
24 
25 namespace catapult { namespace cache {
26 
29  size_t FindAncestors(const MultisigCacheTypes::CacheReadOnlyType& cache, const Key& key, utils::KeySet& ancestorKeys);
30 
33  size_t FindDescendants(const MultisigCacheTypes::CacheReadOnlyType& cache, const Key& key, utils::KeySet& descendantKeys);
34 }}
catapult::cache::FindDescendants
size_t FindDescendants(const MultisigCacheTypes::CacheReadOnlyType &cache, const Key &key, utils::KeySet &descendantKeys)
Definition: MultisigCacheUtils.cpp:60
MultisigCacheTypes.h
catapult::cache::FindAncestors
size_t FindAncestors(const MultisigCacheTypes::CacheReadOnlyType &cache, const Key &key, utils::KeySet &ancestorKeys)
Definition: MultisigCacheUtils.cpp:56
MultisigCache.h
catapult::cache::ReadOnlyArtifactCache
A read-only overlay on top of a cache that provides support for contains, get and isActive.
Definition: MosaicCacheTypes.h:42
catapult::cache::MultisigCacheTypes::CacheReadOnlyType
ReadOnlyArtifactCache< BasicMultisigCacheView, BasicMultisigCacheDelta, const Key &, state::MultisigEntry > CacheReadOnlyType
Definition: MultisigCacheTypes.h:74
MultisigCacheUtils.h
catapult::utils::KeySet
ArraySet< Key > KeySet
A key set.
Definition: ArraySet.h:64
ArraySet.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::utils::ByteArray< Key_Size, Key_tag >
catapult::Key
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41