Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,353 changes: 82 additions & 1,271 deletions Cargo.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exclude = [
]

[workspace.package]
version = "0.2.0"
version = "0.3.0"
edition = "2024"
rust-version = "1.98"
license = "MIT"
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ RUSTFLAGS="-C target-cpu=native" cargo run --locked -p blockzilla -- \
```

This reads five block rows from the public Foundation archive. No API key is needed.
Add `--no-cache` to stream directly over HTTPS with zero local disk cache, or
`--output summary` to verify and decode an epoch with live throughput bars.
Use `--help` to see the commands, or start with the [small examples](examples).

## In this repository
Expand Down
4 changes: 2 additions & 2 deletions bench/sample-block/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ blockzilla-compact-v2-reader = { path = "../../crates/compact-v2/blockzilla-comp
blockzilla-primitives = { path = "../../crates/blockzilla-primitives" }
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
sha2 = "0.11.0"
sha2 = { version = "0.11.0", default-features = false }
wincode = { version = "=0.6.1", features = ["derive"] }
zstd = "0.14.0"
zstd = { version = "0.14.0", default-features = false }

[lints]
workspace = true
14 changes: 7 additions & 7 deletions blockzilla/archive-gateway/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,22 @@ description = "Read-only HTTP range gateway for immutable Blockzilla Archive V2
autobins = false

[dependencies]
blockzilla-archive-v2 = { path = "../../crates/compact-v2/blockzilla-archive-v2", default-features = false, version = "0.2.0" }
blockzilla-compact = { path = "../../crates/compact-v2/blockzilla-compact", default-features = false, version = "0.2.0" }
blockzilla-primitives = { path = "../../crates/blockzilla-primitives", default-features = false, version = "0.2.0" }
blockzilla-registry = { path = "../../crates/compact-v2/blockzilla-registry", default-features = false, version = "0.2.0" }
blockzilla-archive-v2 = { path = "../../crates/compact-v2/blockzilla-archive-v2", default-features = false, version = "0.3.0" }
blockzilla-compact = { path = "../../crates/compact-v2/blockzilla-compact", default-features = false, version = "0.3.0" }
blockzilla-primitives = { path = "../../crates/blockzilla-primitives", default-features = false, version = "0.3.0" }
blockzilla-registry = { path = "../../crates/compact-v2/blockzilla-registry", default-features = false, version = "0.3.0" }
anyhow = "1.0.104"
async-stream = "0.3.6"
axum = { version = "0.8.9", features = ["http1", "json", "tokio"] }
blockzilla-read-sdk = { package = "blockzilla-read-sdk", path = "../../crates/reader/blockzilla-read-sdk", version = "0.2.0" }
blockzilla-read-sdk = { package = "blockzilla-read-sdk", path = "../../crates/reader/blockzilla-read-sdk", version = "0.3.0" }
bytes = "1.12.1"
clap = { version = "4.6.6", features = ["derive", "env"] }
hex = "0.4.3"
http = "1.5.0"
futures-core = "0.3.34"
serde = { version = "1.0.229", features = ["derive"] }
serde_json = "1.0.151"
sha2 = "0.11.0"
sha2 = { version = "0.11.0", default-features = false }
subtle = "2.6.1"
tokio = { version = "1.53.1", features = ["fs", "io-util", "macros", "net", "rt-multi-thread", "signal"] }
tokio-util = { version = "0.7.19", features = ["io"] }
Expand All @@ -41,7 +41,7 @@ libc = "0.2.189"
http-body-util = "0.1.5"
tempfile = "3.27.0"
wincode = { version = "=0.6.1", features = ["derive"] }
zstd = "0.14.0"
zstd = { version = "0.14.0", default-features = false }

[[bin]]
name = "blockzilla-archive-gateway"
Expand Down
Loading