pub async fn make_store_config(
    path: &Path,
    passphrase: Option<&str>
) -> Result<StoreConfig, OpenStoreError>
Expand description

Create a StoreConfig with an opened SqliteStateStore in the given directory and using the given passphrase. If the crypto-store feature is enabled, a [SqliteCryptoStore] with the same parameters is also opened.