CatapultServer  v0.5.0.1 (Elephant)
catapult::sync::SpamThrottleConfiguration Struct Reference

Spam throttle configuration. More...

Collaboration diagram for catapult::sync::SpamThrottleConfiguration:

Public Member Functions

 SpamThrottleConfiguration ()
 Creates a default spam throttle configuration. More...
 
 SpamThrottleConfiguration (Amount maxBoostFee, Importance totalImportance, uint32_t maxCacheSize, uint32_t maxBlockSize)
 Creates a spam throttle configuration around maxBoostFee, totalImportance, maxCacheSize and maxBlockSize. More...
 

Public Attributes

Amount MaxBoostFee
 Max fee for boosting importance. More...
 
Importance TotalImportance
 Total importance of all accounts. More...
 
uint32_t MaxCacheSize
 Maximum transactions cache size. More...
 
uint32_t MaxBlockSize
 Maximum block size. More...
 

Detailed Description

Spam throttle configuration.

Constructor & Destructor Documentation

◆ SpamThrottleConfiguration() [1/2]

catapult::sync::SpamThrottleConfiguration::SpamThrottleConfiguration ( )
inline

Creates a default spam throttle configuration.

◆ SpamThrottleConfiguration() [2/2]

catapult::sync::SpamThrottleConfiguration::SpamThrottleConfiguration ( Amount  maxBoostFee,
Importance  totalImportance,
uint32_t  maxCacheSize,
uint32_t  maxBlockSize 
)
inline

Creates a spam throttle configuration around maxBoostFee, totalImportance, maxCacheSize and maxBlockSize.

Member Data Documentation

◆ MaxBlockSize

uint32_t catapult::sync::SpamThrottleConfiguration::MaxBlockSize

Maximum block size.

◆ MaxBoostFee

Amount catapult::sync::SpamThrottleConfiguration::MaxBoostFee

Max fee for boosting importance.

◆ MaxCacheSize

uint32_t catapult::sync::SpamThrottleConfiguration::MaxCacheSize

Maximum transactions cache size.

◆ TotalImportance

Importance catapult::sync::SpamThrottleConfiguration::TotalImportance

Total importance of all accounts.


The documentation for this struct was generated from the following file: