CatapultServer
v0.5.0.1 (Elephant)
|
utils::BaseValue< Height::ValueType, ImportanceHeight_tag > ImportanceHeight
Represents a height at which importance is calculated.
Definition: ImportanceHeight.h:29
cache::CatapultCacheDelta & Cache
Catapult cache.
Definition: ObserverContext.h:86
Context passed to all the observers.
Definition: ObserverContext.h:78
utils::BaseValue< uint64_t, Amount_tag > Amount
Definition: src/catapult/types.h:76
const TCache::CacheDeltaType & sub() const
Gets a specific sub cache delta view.
Definition: CatapultCacheDelta.h:47
Amount TotalFeesPaid
Total fees paid by account.
Definition: AccountActivityBuckets.h:34
model::ImportanceHeight StartHeight
Activity start height.
Definition: AccountActivityBuckets.h:46
Temporal activity information including height.
Definition: AccountActivityBuckets.h:44
Synchronized cache composed of stateful account information.
Definition: AccountStateCache.h:72
const NotifyMode Mode
Notification mode.
Definition: ObserverContext.h:95
uint64_t RawScore
Optional user defined score component.
Definition: AccountActivityBuckets.h:40
uint32_t BeneficiaryCount
Number of times account has been used as a beneficiary.
Definition: AccountActivityBuckets.h:37
void UpdateActivity(const Key &publicKey, const observers::ObserverContext &context, const ActivityBucketConsumer &commitAction, const ActivityBucketConsumer &rollbackAction)
Definition: ActivityObserverUtils.cpp:36
Definition: AddressExtractionExtension.cpp:28
consumer< state::AccountActivityBuckets::HeightDetachedActivityBucket & > ActivityBucketConsumer
Consumes and updates an activity bucket.
Definition: ActivityObserverUtils.h:30
const catapult::Height Height
Current height.
Definition: ObserverContext.h:92
Base class for wrappers of byte array types, to provide some type-safety.
Definition: ByteArray.h:29
std::function< void(TArgs...)> consumer
A consumer function.
Definition: functions.h:35
ImportanceHeight ConvertToImportanceHeight(Height height, Height::ValueType grouping)
Definition: ImportanceHeight.cpp:33