CongestionPolicy class

The protocol's congestion knobs (EwmaConfig). Shipped disabled.

Constructors

CongestionPolicy({required bool enabled, required BigInt penaltyRate, required BigInt zScoreThreshold})
const

Properties

enabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
penaltyRate → BigInt
penalty_rate — per-unit surcharge charged when the z-score fires.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
zScoreThreshold → BigInt
z_score_threshold — how many standard deviations above the mean gas must sit.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited