go-ethereum/cmd/geth
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
..
testdata cmd/geth: update vulnerability testdata (#23252) 2021-07-27 16:19:48 +02:00
accountcmd.go node: remove dependency on wallet backend packages (#23019) 2021-08-25 22:34:22 +02:00
accountcmd_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
chaincmd.go cmd/geth: add support for sepolia testnet (#23730) 2021-11-08 13:06:01 +02:00
config.go cmd/geth: support bigints for --override.terminaltotaldifficulty (#24646) 2022-04-13 11:28:23 +02:00
consolecmd.go cmd/geth, console: support interrupting the js console (#23387) 2021-12-11 16:51:05 +01:00
consolecmd_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
dao_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
dbcmd.go eth/catalyst: only apply block if we actually have the state (#24598) 2022-03-29 18:26:18 +02:00
genesis_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
les_test.go cmd/geth: fix IPC probe in les test (#23094) 2021-06-25 12:40:37 +02:00
main.go core, params: add kiln flag (#24548) 2022-03-17 17:34:22 +02:00
misccmd.go core, eth: split eth package, implement snap protocol (#21482) 2020-12-14 10:27:15 +01:00
run_test.go all: use T.TempDir to create temporary test directories (#24633) 2022-04-08 15:44:55 +02:00
snapshot.go cmd/geth, core/state/snapshot: fix flaw in dangling-storage check + inspect difflayers (#24677) 2022-04-26 09:08:43 +02:00
usage.go core, params: add kiln flag (#24548) 2022-03-17 17:34:22 +02:00
version_check.go cmd/geth: implement vulnerability check (#21859) 2020-12-04 15:01:47 +01:00
version_check_test.go cmd/geth: add tests for version_check (#24169) 2022-01-11 10:39:04 +01:00