reth_db

Module mdbx

Source
Available on crate feature mdbx only.
Expand description

Bindings for MDBX.

Modules§

  • Cursor wrapper for libmdbx-sys.
  • libmdbx bindings.
  • Transaction wrapper for libmdbx-sys.

Macros§

Structs§

Enums§

Constants§

Traits§

Functions§

  • Creates a new database at the specified path if it doesn’t exist. Does NOT create tables. Check init_db.
  • Opens up an existing database or creates a new one at the specified path. Creates tables if necessary. Read/Write mode.
  • Opens up an existing database. Read/Write mode with WriteMap enabled. It doesn’t create it or create tables if missing.
  • Opens up an existing database. Read only mode. It doesn’t create it or create tables if missing.

Type Aliases§

  • Handle-Slow-Readers callback function to resolve database full/overflow issue due to a reader(s) which prevents the old data from being recycled.
  • An MDBX result.