Martin Holst Swende 0914234d10
cmd/geth, core/state/snapshot: fix flaw in dangling-storage check + inspect difflayers (#24677)
This PR fixes the flaw that @rjl493456442 found in https://github.com/ethereum/go-ethereum/pull/#issuecomment-1093817551 , namely, that the snapshot iterator uses the combined (disk + difflayers) 'view', wheres the raw iterator uses only the disk 'view'.

This PR instead splits up the work: one phase is iterating the disk layer data, another phase is loading the journalled difflayers and performing the same check there.
2022-04-26 09:08:43 +02:00
..
2022-04-25 09:28:03 +02:00
2022-04-20 16:13:47 +02:00
2014-12-04 10:28:02 +01:00
2017-05-25 17:14:33 +03:00
2021-08-25 18:46:29 +02:00
2021-10-27 13:08:51 +02:00
2018-12-14 11:15:31 +01:00