Module Mavryk_store_unix.Consistency

check_consistency store_dir genesis checks that the store is in a consistent state.

fix_consistency ?history_mode store_dir context_index genesis aims to fix a store if it is in an inconsistent state. To do so, it will inspect the stored data and try infer all the missing or corrupted parts.