Skip to content

Commit

Permalink
feat(code/wal): Add Write-Ahead Log implementation (#608)
Browse files Browse the repository at this point in the history
* Add Write-Ahead Log implementation in `malachite-wal` crate

* Add LZ4 compression support

* Fix clippy warnings
  • Loading branch information
romac authored Dec 3, 2024
1 parent e0a7460 commit 087048a
Show file tree
Hide file tree
Showing 17 changed files with 3,377 additions and 14 deletions.
389 changes: 378 additions & 11 deletions code/Cargo.lock

Large diffs are not rendered by default.

13 changes: 10 additions & 3 deletions code/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ members = [
"crates/proto",
"crates/round",
"crates/vote",
"crates/wal",

# Ed25519
"crates/signing-ed25519",
Expand Down Expand Up @@ -72,6 +73,7 @@ malachite-proto = { version = "0.1.0", path = "crates/proto" }
malachite-round = { version = "0.1.0", path = "crates/round" }
malachite-vote = { version = "0.1.0", path = "crates/vote" }
malachite-signing-ed25519 = { version = "0.1.0", path = "crates/signing-ed25519" }
malachite-wal = { version = "0.1.0", path = "crates/wal" }

# Test
malachite-test = { version = "0.1.0", path = "crates/test" }
Expand All @@ -88,20 +90,22 @@ malachite-starknet-p2p-types = { version = "0.1.0", path = "crates/starknet/p2p-
starknet-core = "0.11.1"
starknet-crypto = "0.7.3"

advisory-lock = "0.3.0"
async-recursion = "1.1"
async-trait = "0.1.83"
axum = "0.7"
base64 = "0.22.0"
bon = "2.3.0"
bytesize = "1.3"
bytes = { version = "1", default-features = false }
bytesize = "1.3"
clap = "4.5"
color-eyre = "0.6"
config = { version = "0.14", features = ["toml"], default-features = false }
crc32fast = "1.4.0"
criterion = "0.5.1"
dashmap = "6.1.0"
derive-where = "1.2.7"
displaydoc = { version = "0.2", default-features = false }
directories = "5.0.1"
displaydoc = { version = "0.2", default-features = false }
ed25519-consensus = "2.1.0"
either = "1"
eyre = "0.6"
Expand All @@ -117,6 +121,7 @@ libp2p = { version = "0.54.1", features = ["macros", "identify", "to
libp2p-identity = "0.2.10"
libp2p-broadcast = { version = "0.1.0", package = "libp2p-scatter" }
multiaddr = "0.18.2"
nix = { version = "0.29.0", features = ["signal"] }
num-bigint = "0.4.4"
num-traits = "0.2.17"
pretty_assertions = "1.4"
Expand All @@ -135,7 +140,9 @@ serde_with = "3.9"
sha3 = "0.10"
signature = "2.2.0"
tempfile = "3.13.0"
testdir = "0.9.1"
thiserror = { version = "2.0", default-features = false }
tikv-jemallocator = "0.6.0"
time = "0.3"
tokio = "1.41.1"
tokio-stream = "0.1"
Expand Down
Loading

0 comments on commit 087048a

Please sign in to comment.