Documentation
    Preparing search index...

    Function congestionPenaltyRate

    • ewma::penalty_fee's firing test, as a per-unit RATE: penalty_rate when the transaction's gas price is a high outlier against the market's pre-trade EWMA, else zero. It is a rate and not an amount because the surcharge is rate · quantity, and a budget search has to reprice it at every candidate quantity. gasPrice is the raw reference gas price (not 1e9-scaled), as tx_context::gas_price reports it.

      Parameters

      Returns bigint