good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit 4d48980e authored by Martin Holst Swende's avatar Martin Holst Swende Committed by GitHub
Browse files

core, eth, les: implement unclean-shutdown marker (#21893)


This PR implements unclean shutdown marker. Every time geth boots, it adds a timestamp to a list of timestamps in the database. This list is capped at 10. At a clean shutdown, the timestamp is removed again. 
Thus, when geth exits unclean, the marker remains, and at boot up we show the most recent unclean shutdowns to the user, which makes it easier to diagnose root-causes to certain problems. 

Co-authored-by: default avatarNagy Salem <me@muhnagy.com>
parent c49aae98
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment