reth_db::mdbx

Function open_db_read_only

source
pub fn open_db_read_only(
    path: &Path,
    args: DatabaseArguments,
) -> Result<DatabaseEnv>
Available on crate feature mdbx only.
Expand description

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