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.
|
2023-10-20 13:35:49 +02:00 |
rjl493456442
|
0e5d2c7c53
|
core/state/snapshot, core/types, eth: move account definition to type (#27323)
* core/state/snapshot, core/types, eth: move account definition to type
* core, eth: revert snapshot Account API change
|
2023-06-06 11:17:39 +03:00 |
Melvin Junhee Woo
|
d2e1b17f18
|
snapshot, trie: fixed typos, mostly in snapshot pkg (#22133)
|
2021-01-07 08:36:21 +02:00 |
Péter Szilágyi
|
a4cf279494
|
core/state: extend snapshotter to handle account resurrections
|
2020-03-03 15:52:00 +02:00 |
Péter Szilágyi
|
6e05ccd845
|
core/state/snapshot, tests: sync snap gen + snaps in consensus tests
|
2020-03-03 09:17:13 +02:00 |
Péter Szilágyi
|
6ddb92a089
|
core/state/snapshot: full featured account iteration
|
2020-02-25 12:51:14 +02:00 |
Péter Szilágyi
|
22c494d399
|
core/state/snapshot: bloom, metrics and prefetcher fixes
|
2020-02-25 12:51:11 +02:00 |
Péter Szilágyi
|
351a5903b0
|
core/rawdb, core/state/snapshot: runtime snapshot generation
|
2020-02-25 12:51:08 +02:00 |
Martin Holst Swende
|
f300c0df01
|
core/state/snapshot: replace bigcache with fastcache
|
2020-02-25 12:51:08 +02:00 |
Péter Szilágyi
|
d754091a87
|
core/state/snapshot: unlink snapshots from blocks, quad->linear cleanup
|
2020-02-25 12:51:07 +02:00 |
Péter Szilágyi
|
d7d81d7c12
|
core/state/snapshot: extract and split cap method, cover corners
|
2020-02-25 12:51:05 +02:00 |
Martin Holst Swende
|
e146fbe4e7
|
core/state: lazy sorting, snapshot invalidation
|
2020-02-25 12:51:05 +02:00 |
Péter Szilágyi
|
542df8898e
|
core: initial version of state snapshots
|
2020-02-25 12:51:04 +02:00 |