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.
Martin Holst Swende
c1d5a012ea
core/state, tests: fix memory leak via fastcache (#28387)
This change fixes a memory leak, when running either state-tests or blockchain-tests, we allocate a `1MB` fastcache during snapshot generation. `fastcache` is a bit special, and requires a `Reset()` (it has it's own memory allocator).
The `1MB` was hidden [here](https://github.com/ethereum/go-ethereum/blob/master/tests/state_test_util.go#L333) and [here](https://github.com/ethereum/go-ethereum/blob/master/tests/block_test_util.go#L146) respectively.
|
1 year ago |
.. |
context.go
|
core/state/snapshot: detect and clean up dangling storage snapshot in generation (#24811)
|
3 years ago |
conversion.go
|
core, trie, eth: refactor stacktrie constructor (#28350)
|
1 year ago |
difflayer.go
|
all: update golang/x/ext and fix slice sorting fallout (#27909)
|
1 year ago |
difflayer_test.go
|
all: remove deprecated uses of math.rand (#26710)
|
2 years ago |
disklayer.go
|
core/state, tests: fix memory leak via fastcache (#28387)
|
1 year ago |
disklayer_test.go
|
core/rawdb: simplify TestDiskSeek to use memorydb (#25182)
|
2 years ago |
generate.go
|
trie: make rhs-proof align with last key in range proofs (#28311)
|
1 year ago |
generate_test.go
|
all: activate pbss as experimental feature (#26274)
|
1 year ago |
holdable_iterator.go
|
all: update license headers and AUTHORS from git history (#24947)
|
3 years ago |
holdable_iterator_test.go
|
all: update license headers and AUTHORS from git history (#24947)
|
3 years ago |
iterator.go
|
core: fix typo in iterator.go (#23502)
|
3 years ago |
iterator_binary.go
|
snapshot, trie: fixed typos, mostly in snapshot pkg (#22133)
|
4 years ago |
iterator_fast.go
|
all: update golang/x/ext and fix slice sorting fallout (#27909)
|
1 year ago |
iterator_test.go
|
all: remove deprecated uses of math.rand (#26710)
|
2 years ago |
journal.go
|
core,console: replace noarg fmt.Errorf with errors.New (#27332)
|
1 year ago |
metrics.go
|
all: fix spelling mistakes (#25961)
|
2 years ago |
snapshot.go
|
core/state, tests: fix memory leak via fastcache (#28387)
|
1 year ago |
snapshot_test.go
|
core/state/snapshot, core/types, eth: move account definition to type (#27323)
|
1 year ago |
utils.go
|
core/state/snapshot, core/types, eth: move account definition to type (#27323)
|
1 year ago |