mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
feat(cli): db cmd scaffold (#405)
* feat(cli): db cmd scaffold * feat(cli): add methods for seeding/listing tables * feat(cli): add reth db stats * chore: docs / cleanup * chore: remove ethers Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
This commit is contained in:
committed by
GitHub
parent
5057e8ec0a
commit
dff3936b29
@@ -70,6 +70,11 @@ where
|
||||
Ok(Self { db, tx: Some(db.tx_mut()?) })
|
||||
}
|
||||
|
||||
/// Accessor to the internal Database
|
||||
pub fn inner(&self) -> &'this DB {
|
||||
self.db
|
||||
}
|
||||
|
||||
/// Commit the current inner transaction and open a new one.
|
||||
///
|
||||
/// # Panics
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
//! - `stage.progress{stage}`: The block number each stage has currently reached.
|
||||
|
||||
mod db;
|
||||
pub use db::StageDB;
|
||||
mod error;
|
||||
mod id;
|
||||
mod pipeline;
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
//! <reth crate template>
|
||||
|
||||
mod block;
|
||||
|
||||
pub mod db_provider;
|
||||
mod state;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user