ethrex-storage 17.0.0

Persistent block and state storage layer for the ethrex Ethereum execution client
Documentation

ethrex-storage

Persistent storage layer for the ethrex Ethereum client.

For detailed API documentation, see the rustdocs:

cargo doc --package ethrex-storage --open

Quick Start

use ethrex_storage::{Store, EngineType};

// Create with RocksDB backend
let store = Store::new("./data", EngineType::RocksDB)?;

// Add a block
store.add_block(block).await?;

// Query account
let info = store.get_account_info(block_number, address)?;

Features

  • rocksdb: Enable RocksDB backend for persistent storage (default is in-memory)