reth::utils

Function open_db_read_only

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.