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
0b53b29078
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
...
This PR does a few things.
It fixes a shutdown-order flaw in the chainfreezer. Previously, the chain-freezer would shutdown the freezer backend first, and then signal for the loop to exit. This can lead to a scenario where the freezer tries to fsync closed files, which is an error-conditon that could lead to exit via log.Crit.
It also makes the printout more detailed when truncating 'dangling' items, by showing the exact number instead of approximate MB.
This PR also adds calls to fsync files before closing them, and also makes the `db inspect` command slightly more robust.
2 years ago
..
testdata
cmd/geth: update vulnerabilities.json testdata ( #24856 )
3 years ago
accountcmd.go
cmd: migrate to urfave/cli/v2 ( #24751 )
2 years ago
accountcmd_test.go
cmd: migrate to urfave/cli/v2 ( #24751 )
2 years ago
attach_test.go
cmd/geth, cmd/utils: geth attach with custom headers ( #25829 )
2 years ago
chaincmd.go
core, eth, les, tests, trie: abstract node scheme ( #25532 )
2 years ago
config.go
cmd, core, eth, els, params: disallow setheads below genesis, tweaks
2 years ago
consolecmd.go
cmd/geth, cmd/utils: geth attach with custom headers ( #25829 )
2 years ago
consolecmd_test.go
cmd/geth, core: fix typo in comment ( #25954 )
2 years ago
dao_test.go
all: replace uses of ioutil with io and os ( #24869 )
3 years ago
dbcmd.go
core/rawdb: fix cornercase shutdown behaviour in freezer ( #26485 )
2 years ago
exportcmd_test.go
cmd/utils: enable snapshot generation in import-mode ( #25990 )
2 years ago
genesis_test.go
cmd/geth: eth/catalyst: enable authrpc by default ( #25152 )
2 years ago
les_test.go
cmd/geth: eth/catalyst: enable authrpc by default ( #25152 )
2 years ago
main.go
cmd, core, eth, els, params: disallow setheads below genesis, tweaks
2 years ago
misccmd.go
internal/version: use gitCommit injection in version handling code ( #25851 )
2 years ago
run_test.go
all: use T.TempDir to create temporary test directories ( #24633 )
3 years ago
snapshot.go
cmd, core, eth, les, light: track deleted nodes ( #25757 )
2 years ago
verkle.go
cmd/geth: fix help output issues ( #25941 )
2 years ago
version_check.go
cmd: migrate to urfave/cli/v2 ( #24751 )
2 years ago
version_check_test.go
all: add whitespace linter ( #25312 )
2 years ago