cuprate_database

Constant DATABASE_CORRUPT_MSG

Source
pub const DATABASE_CORRUPT_MSG: &str = r"Cuprate has encountered a fatal error. The database may be corrupted.

TODO: instructions on:
1. What to do
2. How to fix (re-sync, recover, etc)
3. General advice for preventing corruption
4. etc";
Expand description

Corrupt database error message.

The error message shown to end-users in panic messages if we think the database is corrupted.

This is meant to be user-friendly.