go-ethereum/core/txpool/legacypool
rjl493456442 623b17ba20
core/state: state reader abstraction (#29761)
This pull request introduces a state.Reader interface for state
accessing.

The interface could be implemented in various ways. It can be pure trie
only reader, or the combination of trie and state snapshot. What's more,
this interface allows us to have more flexibility in the future, e.g.
the
archive reader (for accessing archive state).

Additionally, this pull request removes the following metrics

- `chain/snapshot/account/reads`
- `chain/snapshot/storage/reads`
2024-09-05 13:10:47 +03:00
..
journal.go core/txpool: no need to log loud rotate if no local txs (#29083) 2024-02-26 18:34:45 +02:00
legacypool.go core/txpool/legacypool: use maps.Keys and maps.Copy (#30091) 2024-07-16 13:42:30 +02:00
legacypool2_test.go core/state: state reader abstraction (#29761) 2024-09-05 13:10:47 +03:00
legacypool_test.go core/state: state reader abstraction (#29761) 2024-09-05 13:10:47 +03:00
list.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00
list_test.go core/txpool/legacypool: remove a redundant heap.Init (#28910) 2024-02-15 19:50:17 +01:00
noncer.go all: move main transaction pool into a subpool (#27463) 2023-06-16 15:29:40 +03:00