Previously, blobpool eviction priority did not differentiate well
transactions that are close to the basefee limit and transactions that
are way under the limit. Here we improve this differentiation, giving
more priority to transactions that are closer to the current base fee
and/or blob fee, thus potentially includable in a shorter time.
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
evictionPriority was used in only one place, where we cap it to 0.
Cleaner to do it right in the function.
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
* core/blobpool: implement txpool for blob txs
* core/txpool: track address reservations to notice any weird bugs
* core/txpool/blobpool: add support for in-memory operation for tests
* core/txpool/blobpool: fix heap updating after SetGasTip if account is evicted
* core/txpool/blobpool: fix eviction order if cheap leading txs are included
* core/txpool/blobpool: add note as to why the eviction fields are not inited in reinject
* go.mod: pull in inmem billy form upstream
* core/txpool/blobpool: fix review commens
* core/txpool/blobpool: make heap and heap test deterministic
* core/txpool/blobpool: luv u linter
* core/txpool: limit blob transactions to 16 per account
* core/txpool/blobpool: fix rebase errors
* core/txpool/blobpool: luv you linter
* go.mod: revert some strange crypto package dep updates