Open Eternali opened 5 years ago
So the previous comment wasn't entirely correct so now there is an environment variable you can set to run a reindex whenever the application restarts. This is probably a decent enough solution for the foreseeable future since triggering app restarts are pretty painless.
Right now the easiest way of doing this is to just trigger a redeploy on IBM cloud. A better way of doing this could either be in the explorer itself (if it finds another block with blockHeight of 1 delete all previous blocks). Or as a script to trigger reindexing.