Skip to main content

Crate signet_cold_mdbx

Crate signet_cold_mdbx 

Source
Expand description

MDBX table definitions and backend for cold storage.

This crate provides table definitions for storing historical blockchain data in MDBX. It defines 9 tables:

§Primary Data Tables

§Index Tables

§Feature Flags

  • test-utils: Propagates signet-cold/test-utils for conformance testing against the MDBX backend.

Structs§

ColdBlockHashIndex
Block hash to block number index.
ColdHeaders
Headers indexed by block number.
ColdReceipts
Receipts indexed by (block number, tx index).
ColdSignetEvents
Signet events indexed by (block number, event index).
ColdTransactions
Transactions indexed by (block number, tx index).
ColdTxHashIndex
Transaction hash to (block number, tx index) index.
ColdTxSenders
Transaction senders indexed by (block number, tx index).
ColdZenithHeaders
Zenith headers indexed by block number.
DatabaseArguments
Arguments for database initialization.
MdbxColdBackend
MDBX-based cold storage backend.
MdbxConnector
Connector for MDBX storage (both hot and cold).

Enums§

DatabaseEnvKind
Environment used when opening a MDBX environment. Read-only or Read-write.
MdbxColdError
Errors that can occur in cold MDBX storage operations.
MdbxConnectorError
Errors that can occur when initializing MDBX connectors.