pub const DEFAULT_STORAGE_PATH: &str = "./storage";
#[cfg(feature = "rocksdb")]
pub(crate) const ROCKSDB_FOLDERNAME: &str = "walletdb";
pub const fn default_storage_path() -> &'static str {
#[cfg(feature = "rocksdb")]
return ROCKSDB_FOLDERNAME;
#[cfg(not(feature = "rocksdb"))]
DEFAULT_STORAGE_PATH
}
pub(crate) const DATABASE_SCHEMA_VERSION: u8 = 1;
pub(crate) const DATABASE_SCHEMA_VERSION_KEY: &str = "database-schema-version";
pub(crate) const WALLET_LEDGER_KEY: &str = "wallet-ledger";
pub(crate) const WALLET_BUILDER_KEY: &str = "wallet-builder";
pub(crate) const SECRET_MANAGER_KEY: &str = "secret-manager";
pub(crate) const WALLET_SYNC_OPTIONS: &str = "wallet-sync-options";