Crate reth_db

Source
Expand description

MDBX implementation for reth’s database abstraction layer.

This crate is an implementation of [reth-db-api] for MDBX, as well as a few other common database types.

§Overview

An overview of the current data model of reth can be found in the tables module.

Re-exports§

Modules§

Macros§

Structs§

Enums§

Traits§

  • Main Database trait that can open read-only and read-write transactions.
  • Extension trait for DbTxMut that provides unwind functionality.

Functions§

  • Check if a db is empty. It does not provide any information on the validity of the data in it. We consider a database as non empty when it’s a non empty directory.