Skip to content

Commit

Permalink
rocksDB Column Families revamp and refac
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19-cw committed May 24, 2024
1 parent 1c4adb8 commit 58f13fa
Show file tree
Hide file tree
Showing 9 changed files with 707 additions and 620 deletions.
9 changes: 9 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 7 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ default-run = "stratus"
anyhow = "=1.0.82"
async-trait = "=0.1.80"
byte-unit = "=5.1.4"
cfg-if = "=1.0.0"
chrono = "=0.4.38"
const_format = "=0.2.32"
const-hex = "=1.10.0"
Expand All @@ -24,6 +25,7 @@ hex-literal = "=0.4.1"
humantime = "=2.1.0"
indexmap = { version = "=2.2.6", features = ["serde"] }
itertools = "=0.12.1"
lazy_static = "=1.4.0"
nonempty = { version = "=0.10.0", features = ["serialize"] }
once_cell = "=1.19.0"
paste = "=1.0.14"
Expand All @@ -32,6 +34,7 @@ pin-project = "=1.1.5"
quote = "=1.0.36"
rand = "=0.8.5"
strum = "=0.26.2"
sugars = "=3.0.1"
thiserror = "=1.0.59"
url = "=2.5.0"
uuid = { version = "=1.8.0", features = ["v4", "fast-rng" ] }
Expand All @@ -45,7 +48,7 @@ clap = { version = "=4.5.4", features = ["derive", "env"] }
dotenvy = "=0.15.7"

# serialization
display_json = "0.2.1"
display_json = "=0.2.1"
serde = "=1.0.199"
serde_json = "=1.0.116"
serde_with = "=3.8.1"
Expand Down Expand Up @@ -87,9 +90,9 @@ sqlx = { version = "=0.7.4", features = ["runtime-tokio", "postgres", "bigdecima
num-traits = "=0.2.18"
rocksdb = { version = "=0.22.0", features = ["multi-threaded-cf"], optional = true }
raft = { version = "=0.7.0", optional = true }
slog = "2.7"
slog-term = "2.8"
slog-async = "2.7"
slog = "=2.7.0"
slog-term = "=2.9.1"
slog-async = "=2.8.0"
kube = { version = "=0.90.0", optional = true, features = ["runtime", "derive"] }
k8s-openapi = { version = "=0.21.1", optional = true, features = ["v1_27"] }

Expand Down
11 changes: 9 additions & 2 deletions src/eth/storage/rocks/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
pub mod rocks_db;
/// Data manipulation for column families.
mod rocks_cf;
/// Settings and tweaks for the database and column families.
mod rocks_config;
/// Functionalities related to the whole database.
mod rocks_db;
/// Exposed API.
pub mod rocks_permanent;
pub mod rocks_state;
/// State handler for DB and column families.
mod rocks_state;
mod types;
Loading

0 comments on commit 58f13fa

Please sign in to comment.