This question already has an answer here:
It seems that my local bitcoin testnet node are corrupted. Could you tell me how to rebuild blocks?
The reason why I think it is corrupted is as following.
For example, when I checked transaction "ed2ccc36c241ad00893d0596fe167a4df162989dbf8c5ff3916d4034e7f510c3" on my local testnet node, it returned the following error.
error code: -5 error message: No information available about transaction
However, on testnet block reader it returned transaction info.