Official Go implementation of the Ethereum protocol
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Felix Lange
9afc6816d2
common/lru: add generic LRU implementation ( #26162 )
...
It seems there is no fully typed library implementation of an LRU cache.
So I wrote one. Method names are the same as github.com/hashicorp/golang-lru,
and the new type can be used as a drop-in replacement.
Two reasons to do this:
- It's much easier to understand what a cache is for when the types are right there.
- Performance: the new implementation is slightly faster and performs zero memory
allocations in Add when the cache is at capacity. Overall, memory usage of the cache
is much reduced because keys are values are no longer wrapped in interface.
2 years ago
..
catalyst
eth, catalyst: fix flaky tests ( #26153 )
2 years ago
downloader
core, eth: for types with accurate size calcs, return uint64, not float ( #26046 )
2 years ago
ethconfig
cmd, eth: implement full-sync tester ( #26035 )
2 years ago
fetcher
all: use github.com/deckarep/golang-set/v2 (generic set) ( #26159 )
2 years ago
filters
common/lru: add generic LRU implementation ( #26162 )
2 years ago
gasprice
common/lru: add generic LRU implementation ( #26162 )
2 years ago
protocols
all: use github.com/deckarep/golang-set/v2 (generic set) ( #26159 )
2 years ago
tracers
eth/tracers: add multiplexing tracer ( #26086 )
2 years ago
api.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
api_backend.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
api_test.go
core, trie, eth, cmd: rework preimage store ( #25287 )
2 years ago
backend.go
all: refactor txpool into it's own package in prep for 4844
2 years ago
bloombits.go
eth: move eth.Config to a common package ( #22205 )
4 years ago
handler.go
eth: fix a rare datarace on CHT challenge reply / shutdown
2 years ago
handler_eth.go
eth: implement eth/68 ( #25980 )
2 years ago
handler_eth_test.go
eth, catalyst: fix flaky tests ( #26153 )
2 years ago
handler_snap.go
eth: check snap satelliteness, delegate drop to eth ( #22235 )
4 years ago
handler_test.go
all: cleanup tests ( #25641 )
2 years ago
peer.go
all: more linters ( #24783 )
2 years ago
peerset.go
all: fix some typos ( #25551 )
2 years ago
state_accessor.go
build: upgrade to go 1.19 ( #25726 )
2 years ago
sync.go
cmd, core, eth, les, params: add merge-passed chain config ( #24538 )
2 years ago
sync_test.go
eth: introduce eth67 protocol ( #24093 )
2 years ago