If my Geth node crashes during normal sync or --fast sync, can the integrity of the node's blockchain database be guaranteed or is there a risk that some transactions or even blocks (in the case of a --fast sync) didn't get written to the node's filesystem?
Asked
Active
Viewed 125 times
3
Mikko Ohtamaa
- 22,269
- 6
- 62
- 127
migu
- 941
- 2
- 10
- 18
1 Answers
1
I think the only real way to guarantee integrity of the data is if a SIGINT was issued and subsequently gracefully handled.
This previous answer details Geth's signal handling during the importing of the chaindata.
A "crash" wouldn't normally accompany a SIGINT (nor vice versa).
Richard Horrocks
- 37,835
- 13
- 87
- 144