Macro iota_protocol_config::check_limit_by_meter

source ยท
macro_rules! check_limit_by_meter {
    ($is_metered:expr, $x:expr, $metered_limit:expr, $unmetered_hard_limit:expr, $metric:expr) => { ... };
}
Expand description

Used to check which limits were crossed if the TX is metered (not system tx) Args are: is_metered, value_to_check, metered_limit, unmetered_limit metered_limit is always less than or equal to unmetered_hard_limit