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 WALLET_INDEXATION_KEY: &str = "iota-wallet-account-manager";
pub(crate) const SECRET_MANAGER_KEY: &str = "secret_manager";
pub(crate) const ACCOUNTS_INDEXATION_KEY: &str = "iota-wallet-accounts";
pub(crate) const ACCOUNT_INDEXATION_KEY: &str = "iota-wallet-account-";
pub(crate) const ACCOUNT_SYNC_OPTIONS: &str = "sync-options";
pub(crate) const DATABASE_SCHEMA_VERSION: u8 = 1;
pub(crate) const DATABASE_SCHEMA_VERSION_KEY: &str = "database-schema-version";
#[cfg(feature = "participation")]
pub(crate) const PARTICIPATION_EVENTS: &str = "participation-events";
#[cfg(feature = "participation")]
pub(crate) const PARTICIPATION_CACHED_OUTPUTS: &str = "participation-cached-outputs";