#include <resource_limits.hpp>
Definition at line 34 of file resource_limits.hpp.
◆ validate()
void sysio::chain::resource_limits::elastic_limit_parameters::validate |
( |
| ) |
const |
Definition at line 32 of file resource_limits.cpp.
32 {
33
34
35 SYS_ASSERT(
periods > 0, resource_limit_exception,
"elastic limit parameter 'periods' cannot be zero" );
38}
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
◆ operator!=
◆ operator==
Definition at line 45 of file resource_limits.hpp.
45 {
46 return std::tie(lhs.target, lhs.max, lhs.periods, lhs.max_multiplier, lhs.contract_rate, lhs.expand_rate)
47 == std::tie(rhs.target, rhs.max, rhs.periods, rhs.max_multiplier, rhs.contract_rate, rhs.expand_rate);
48 }
◆ contract_rate
ratio sysio::chain::resource_limits::elastic_limit_parameters::contract_rate |
◆ expand_rate
ratio sysio::chain::resource_limits::elastic_limit_parameters::expand_rate |
◆ max
uint64_t sysio::chain::resource_limits::elastic_limit_parameters::max |
◆ max_multiplier
uint32_t sysio::chain::resource_limits::elastic_limit_parameters::max_multiplier |
◆ periods
uint32_t sysio::chain::resource_limits::elastic_limit_parameters::periods |
◆ target
uint64_t sysio::chain::resource_limits::elastic_limit_parameters::target |
The documentation for this struct was generated from the following files: