• Felix Lange's avatar
    core: check effective tip in txpool pricelimit validation (#23855) · 94898533
    Felix Lange authored
    The price limit is supposed to exclude transactions with too low fee
    amount. Before EIP-1559, it was sufficient to check the limit against
    the gas price of the transaction. After 1559, it is more complicated
    because the concept of 'transaction gas price' does not really exist.
    
    When mining, the price limit is used to exclude transactions below a
    certain effective fee amount. This change makes it apply the same check
    earlier, in tx validation. Transactions below the specified fee amount
    cannot enter the pool.
    
    Fixes #23837
    94898533
tx_pool.go 62.5 KB