mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-02-14 00:45:01 -05:00
* feat(interfaces): implement header client traits * feat: add downloader trait implementer * feat: use explicit error type instead of ok(false) * feat: add constructor to HeaderLocked * test: scaffold mock consensus, downloader and headersclient helpers * test: implement test consensus * test: implement test headers client * refactor: cleanup download headers * chore: fix lint * s/test_utils/test_helpers * headers(part 3) feat: implement Linear downloader (#119) * feat: add headers downloaders crate * feat: more scaffolding * interfaces: generalize retryable erros * feat: implement linear downloader * fix linear downloader tests & add builder * extend & reverse * feat: linear downloader generics behind arc and reversed return order (#120) * put client & consensus behind arc and return headers in rev * cleanup Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com> * extract test_utils * cargo fmt Co-authored-by: Roman Krasiuk <rokrassyuk@gmail.com>
23 lines
649 B
TOML
23 lines
649 B
TOML
[package]
|
|
name = "reth-headers-downloaders"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/foundry-rs/reth"
|
|
readme = "README.md"
|
|
description = "Implementations of various header downloader"
|
|
|
|
[dependencies]
|
|
async-trait = "0.1.58"
|
|
reth-interfaces = { path = "../../interfaces" }
|
|
reth-primitives = { path = "../../primitives" }
|
|
reth-rpc-types = { path = "../rpc-types" }
|
|
|
|
[dev-dependencies]
|
|
assert_matches = "1.5.0"
|
|
once_cell = "1.15.0"
|
|
rand = "0.8.5"
|
|
reth-interfaces = { path = "../../interfaces", features = ["test-utils"] }
|
|
tokio = { version = "1.21.2", features = ["full"] }
|
|
serial_test = "0.9.0"
|