Skip to content

v0.3.0: native HTTP range streaming, zero-cache firehose API, and unified stream CLI - #108

Merged
augustin-cheron merged 5 commits into
mainfrom
release/v0.3.0-http-firehose-stream
Nov 30, 2026
Merged

augustin-cheron merged 5 commits into
mainfrom
release/v0.3.0-http-firehose-stream

Conversation

@augustin-cheron

Copy link
Copy Markdown
Collaborator

Summary

  • Replace reqwest in blockzilla-source-http with a pure-Rust pooled HTTP/1.1 + rustls transport (OriginTransport, HttpRangeStream, HttpJsonClient) while keeping full HttpRetryPolicy, HttpRetryStats, and S3SigV4Signer support.
  • Minimize workspace dependencies (bincode, bs58, chrono, prost-build, reqwest, solana-signature removed from core crates; blockzilla-get-block worker feature switched to ed25519-dalek).
  • Add reusable zero-cache ordered HTTPS firehose API (firehose::stream_epoch_firehose / run_epoch_firehose, supporting custom parallel projections, optional HttpRequestSigner, and first_block / max_blocks) plus examples/epoch_firehose.rs.
  • Unify blockzilla stream (--output jsonl|summary, --decode full|block, --no-cache, --threads 1..=128, --net-workers 1..=512, --first-block, --s3-region, --plain), deduplicate shared archive/scan arguments with token-dump, and restrict inspect to archive location flags only.
  • Update repository READMEs and bump Blockzilla package versions from 0.2.0 to 0.3.0.

Verification

  • Public source scope check and cargo fmt --all -- --check
  • cargo test --locked --workspace --all-targets
  • cargo run --locked -p blockzilla-sample-block-bench -- 1
  • Separate workspaces: zillastream/capture-core, zillastream/relay, blockzilla/builder (Linux), crates/blockzilla-bank-client --locked, blockzilla/get-block/resolver --locked
  • wasm32-unknown-unknown check: cargo check --locked -p blockzilla-get-block --no-default-features --features worker --target wasm32-unknown-unknown --lib
  • Live smoke tests against the public Foundation R2 archive (stream --epoch 200 --max-blocks 5 --no-cache and stream --epoch 200 --max-blocks 20 --output summary --plain) on macOS arm64 and Linux x86_64.

@augustin-cheron
augustin-cheron force-pushed the release/v0.3.0-http-firehose-stream branch from 6ff06b6 to 5723125 Compare November 30, 2026 22:19
@augustin-cheron
augustin-cheron merged commit 52e512e into main Nov 30, 2026
6 checks passed
@augustin-cheron
augustin-cheron deleted the release/v0.3.0-http-firehose-stream branch November 30, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant