mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-04-30 03:01:58 -04:00
* chore: clean up `.gitignore` * fix: make RO cursors `Send + Sync` * feat(wip): bodies stage * driveby: improve docs * chore: don't panic if we're the first stage * chore: use `Vec` for ommers * feat: error handling in bodies downloader * chore: remove stale comment * chore: pascal-case stage id * refactor: remove unused new fns * refactor: distinguish downloaders with prefix * refactor: move downloader errs to own module * refactor: `stream_bodies` -> `bodies_stream` * test: fix borked imports in header stage * test: clean up header tests * test: add basic body stage tests * test: add 2 more body stage test skeletons * test: move generator test utils to own module * refactor: move proof functions to primitives crate * feat: add block generator test utils * test: more body stage tests * chore: fix typo (`Cannonical*` -> `Canonical`) * docs: document `bodies_to_download` * test: more body stage tests * test: more body stage tests * refactor: clean up body stage tests a bit * test: fix broken tests * refactor: clean up body stage tests * test: more body stage tests
35 lines
1.1 KiB
TOML
35 lines
1.1 KiB
TOML
[package]
|
|
name = "reth-stages"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/foundry-rs/reth"
|
|
readme = "README.md"
|
|
description = "Staged syncing primitives used in reth."
|
|
|
|
[dependencies]
|
|
reth-primitives = { path = "../primitives" }
|
|
reth-interfaces = { path = "../interfaces" }
|
|
reth-db = { path = "../db" }
|
|
async-trait = "0.1.57"
|
|
thiserror = "1.0.37"
|
|
tracing = "0.1.36"
|
|
tracing-futures = "0.2.5"
|
|
tokio = { version = "1.21.2", features = ["sync"] }
|
|
aquamarine = "0.1.12"
|
|
metrics = "0.20.1"
|
|
futures-util = "0.3.25"
|
|
|
|
[dev-dependencies]
|
|
reth-db = { path = "../db", features = ["test-utils"] }
|
|
reth-interfaces = { path = "../interfaces", features = ["test-utils"] }
|
|
reth-bodies-downloaders = { path = "../net/bodies-downloaders" }
|
|
# TODO(onbjerg): We only need this for [BlockBody]
|
|
reth-eth-wire = { path = "../net/eth-wire" }
|
|
reth-headers-downloaders = { path = "../net/headers-downloaders" }
|
|
tokio = { version = "*", features = ["rt", "sync", "macros"] }
|
|
tokio-stream = "0.1.10"
|
|
tempfile = "3.3.0"
|
|
assert_matches = "1.5.0"
|
|
rand = "0.8.5"
|