Options for configuring the hash check consumer.
More...
|
constexpr | HashCheckOptions () |
| Creates default options. More...
|
|
constexpr | HashCheckOptions (uint64_t cacheDuration, uint64_t pruneInterval, uint64_t maxCacheSize) |
| Creates options with custom cacheDuration, pruneInterval and maxCacheSize. More...
|
|
Options for configuring the hash check consumer.
◆ HashCheckOptions() [1/2]
constexpr catapult::consumers::HashCheckOptions::HashCheckOptions |
( |
| ) |
|
|
inlineconstexpr |
◆ HashCheckOptions() [2/2]
constexpr catapult::consumers::HashCheckOptions::HashCheckOptions |
( |
uint64_t |
cacheDuration, |
|
|
uint64_t |
pruneInterval, |
|
|
uint64_t |
maxCacheSize |
|
) |
| |
|
inlineconstexpr |
Creates options with custom cacheDuration, pruneInterval and maxCacheSize.
◆ CacheDuration
uint64_t catapult::consumers::HashCheckOptions::CacheDuration |
Amount of time a hash should be cached.
◆ MaxCacheSize
uint64_t catapult::consumers::HashCheckOptions::MaxCacheSize |
Maximum size of the cache.
◆ PruneInterval
uint64_t catapult::consumers::HashCheckOptions::PruneInterval |
Minimum amount of time between cache pruning.
The documentation for this struct was generated from the following file: