CatapultServer
v0.5.0.1 (Elephant)
|
A previously committed transaction that was reverted.
utils::BaseValue< uint64_t, Amount_tag > Amount
Definition: src/catapult/types.h:76
std::function< bool(TArgs...)> predicate
A predicate function.
Definition: functions.h:31
Amount MaxBoostFee
Max fee for boosting importance.
Definition: TransactionSpamThrottle.h:46
predicate< const model::Transaction & > m_isBonded
Definition: TransactionSpamThrottle.cpp:85
utils::BaseValue< uint64_t, Importance_tag > Importance
Definition: src/catapult/types.h:102
uint32_t MaxBlockSize
Maximum block size.
Definition: TransactionSpamThrottle.h:55
constexpr ValueType unwrap() const
Unwraps this value and returns the underlying raw value.
Definition: BaseValue.h:53
uint32_t MaxCacheSize
Maximum transactions cache size.
Definition: TransactionSpamThrottle.h:52
predicate< const model::TransactionInfo &, const ThrottleContext & > Throttle
Function signature for throttling cache additions.
Definition: UtUpdater.h:69
SpamThrottleConfiguration()
Creates a default spam throttle configuration.
Definition: TransactionSpamThrottle.h:30
chain::UtUpdater::Throttle CreateTransactionSpamThrottle(const SpamThrottleConfiguration &config, const predicate< const model::Transaction & > &isBonded)
Definition: TransactionSpamThrottle.cpp:89
SpamThrottleConfiguration(Amount maxBoostFee, Importance totalImportance, uint32_t maxCacheSize, uint32_t maxBlockSize)
Creates a spam throttle configuration around maxBoostFee, totalImportance, maxCacheSize and maxBlockS...
Definition: TransactionSpamThrottle.h:37
SpamThrottleConfiguration m_config
Definition: TransactionSpamThrottle.cpp:84
Spam throttle configuration.
Definition: TransactionSpamThrottle.h:27
TransactionSource
Sources of transactions that can be updated.
Definition: UtUpdater.h:42
Definition: AddressExtractionExtension.cpp:28
Importance TotalImportance
Total importance of all accounts.
Definition: TransactionSpamThrottle.h:49