//! General constants used throughout `cuprate-blockchain`. //---------------------------------------------------------------------------------------------------- Import //---------------------------------------------------------------------------------------------------- Version /// Current major version of the database. /// /// Returned by [`crate::ops::property::db_version`]. /// /// This is incremented by 1 when `cuprate_blockchain`'s /// structure/schema/tables change. /// /// This is akin to `VERSION` in `monerod`: /// pub const DATABASE_VERSION: u64 = 0; //---------------------------------------------------------------------------------------------------- Tests #[cfg(test)] mod test {}