miden_node_store/lib.rs
1use std::time::Duration;
2
3mod blocks;
4mod db;
5mod errors;
6pub mod genesis;
7mod server;
8pub mod state;
9
10pub use genesis::GenesisState;
11pub use server::{DataDirectory, Store};
12
13// CONSTANTS
14// =================================================================================================
15const COMPONENT: &str = "miden-store";
16
17/// How often to run the database maintenance routine.
18const DATABASE_MAINTENANCE_INTERVAL: Duration = Duration::from_secs(24 * 60 * 60);