CatapultServer
v0.5.0.1 (Elephant)
|
Spam throttle configuration. More...
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... | |
Spam throttle configuration.
|
inline |
Creates a default spam throttle configuration.
|
inline |
Creates a spam throttle configuration around maxBoostFee, totalImportance, maxCacheSize and maxBlockSize.
uint32_t catapult::sync::SpamThrottleConfiguration::MaxBlockSize |
Maximum block size.
Amount catapult::sync::SpamThrottleConfiguration::MaxBoostFee |
Max fee for boosting importance.
uint32_t catapult::sync::SpamThrottleConfiguration::MaxCacheSize |
Maximum transactions cache size.
Importance catapult::sync::SpamThrottleConfiguration::TotalImportance |
Total importance of all accounts.