CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
29 namespace catapult {
namespace cache {
32 SerializerHashedKeyEncoder<MultisigCacheDescriptor::Serializer>,
33 PatriciaTreeRdbDataSource,
DEFINE_STATEFUL_VALIDATOR(EligibleHarvester, [](const auto ¬ification, const auto &context) { cache::ImportanceView view(context.Cache.template sub< cache::AccountStateCache >());return view.canHarvest(notification.Signer, context.Height) ? ValidationResult::Success :Failure_Core_Block_Harvester_Ineligible;})
typename BasicMultisigCache ::CacheReadOnlyType CacheReadOnlyType
Definition: SynchronizedCache.h:207
Definition: MultisigBaseSets.h:45
Primary serializer for multisig cache.
Definition: MultisigCacheSerializers.h:29
model::AccountAddressNotification Notification
Definition: AddressValidator.cpp:27
A base patricia tree.
Definition: BasePatriciaTree.h:30
const Notification & m_notification
Definition: MultisigAggregateSufficientCosignersValidator.cpp:128
const Notification & m_notification
Definition: MultisigAggregateEligibleCosignersValidator.cpp:109
Definition: MultisigBaseSets.h:47
A cache types adapter for a cache composed of a single set and a patricia tree.
Definition: SingleSetCacheTypesAdapter.h:84
const cache::MultisigCache::CacheReadOnlyType & m_multisigCache
Definition: MultisigAggregateEligibleCosignersValidator.cpp:110
OperationType
Definition: MultisigAggregateSufficientCosignersValidator.cpp:32
Wrapper around single delta set and patricia tree.
Definition: SingleSetCacheTypesAdapter.h:87
ArraySet< Key > KeySet
A key set.
Definition: ArraySet.h:64
utils::ArrayPointerFlagMap< Key > m_cosigners
Definition: MultisigAggregateEligibleCosignersValidator.cpp:111
MultisigEntryPrimarySerializer Serializer
Definition: MultisigCacheTypes.h:60
Binary layout for an embedded transaction (non-verifiable).
Definition: EmbeddedTransaction.h:38
Wrapper around single set and patricia tree.
Definition: SingleSetCacheTypesAdapter.h:94
Definition: MultisigBaseSets.h:36
const cache::MultisigCache::CacheReadOnlyType & m_multisigCache
Definition: MultisigAggregateSufficientCosignersValidator.cpp:129
ArrayPointerSet< Key > KeyPointerSet
A key pointer set.
Definition: ArraySet.h:73
Definition: AddressExtractionExtension.cpp:28
utils::KeyPointerSet m_cosigners
Definition: MultisigAggregateSufficientCosignersValidator.cpp:130
utils::ByteArray< Key_Size, Key_tag > Key
Definition: src/catapult/types.h:41
tree::BasePatriciaTree< SerializerHashedKeyEncoder< MultisigCacheDescriptor::Serializer >, PatriciaTreeRdbDataSource, utils::ArrayHasher< Key > > BasicMultisigPatriciaTree
Definition: MultisigBaseSets.h:34
EntityType Type
Entity type.
Definition: EntityBody.h:42