plugeth/cmd
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.
2023-01-16 03:57:27 -05:00
..
abidump all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
abigen cmd/abigen: change --exc to exclude by type name (#22620) 2022-09-23 19:04:02 +02:00
bootnode les: switch to new discv5 (#21940) 2021-01-26 21:41:35 +01:00
checkpoint-admin internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
clef cmd/clef: list accounts at startup (#26082) 2022-11-07 16:41:36 +01:00
devp2p Merge pull request #25878 from MariusVanDerWijden/shanghai-by-time 2023-01-06 16:10:12 +02:00
ethkey internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
evm core/vm: implement EIP-3860: Limit and meter initcode (#23847) 2023-01-11 04:05:47 -05:00
faucet cmd/faucet: fix readme typos (#25867) 2022-09-26 11:30:50 +02:00
geth core/rawdb: fix cornercase shutdown behaviour in freezer (#26485) 2023-01-16 03:57:27 -05:00
p2psim internal/version: use gitCommit injection in version handling code (#25851) 2022-09-23 14:08:25 +02:00
puppeth cmd/puppeth, cmd/utils: finalize removal of gasTarget flag (#24370) 2022-09-23 22:32:10 +02:00
rlpdump all: change format 0x%x to %#x (#25221) 2022-07-04 11:03:32 +03:00
utils cmd, core, eth, els, params: disallow setheads below genesis, tweaks 2023-01-06 15:29:58 +02:00