Skip to content

Thread-safe implementation of revm DB that directly fetch data from Reth DB

Notifications You must be signed in to change notification settings

fuzzland/rethdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RethDB

A thread-safe implementation of revm Database that directly fetch data from Reth database.

Usage

let db = RethDB::new(
    Chain::mainnet(), "path/to/reth/db", Some(block_number)
);

// use it in the same way as other revm DBs.

Performance

For replaying blocks, approximately 40x faster than AlloyDB using IPC and 100x faster than AlloyDB using HTTP RPC.

About

Thread-safe implementation of revm DB that directly fetch data from Reth DB

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages