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
..
pruner
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
snapshot
core/rawdb: refactor db inspector for extending multiple ancient store ( #25896 )
2 years ago
access_list.go
all: implement EIP-2929 (gas cost increases for state access opcodes) + yolo-v2 ( #21509 )
4 years ago
database.go
common/lru: add generic LRU implementation ( #26162 )
2 years ago
dump.go
all: fix spelling mistakes ( #25961 )
2 years ago
iterator.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
iterator_test.go
core, light, trie: remove DiskDB function from trie database ( #25690 )
2 years ago
journal.go
core/state: fix typos in comments ( #23702 )
3 years ago
metrics.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
state_object.go
core/rawdb: refactor db inspector for extending multiple ancient store ( #25896 )
2 years ago
state_object_test.go
build: use golangci-lint ( #20295 )
5 years ago
state_test.go
core, trie, eth, cmd: rework preimage store ( #25287 )
2 years ago
statedb.go
core/rawdb: refactor db inspector for extending multiple ancient store ( #25896 )
2 years ago
statedb_test.go
core/state, trie: fix trie flush order for proper pruning
2 years ago
sync.go
core, les, eth: port snap sync changes ( #24898 )
2 years ago
sync_test.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
trie_prefetcher.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
trie_prefetcher_test.go
all: introduce trie owner notion ( #24750 )
2 years ago