reth::utils

Function open_db_read_only

Source
pub fn open_db_read_only(
    path: &Path,
    args: DatabaseArguments,
) -> Result<DatabaseEnv, Report>
Expand description

Opens up an existing database. Read only mode. It doesn’t create it or create tables if missing.