feat(cli): p2p header & body download (#698)

* p2p cli scaffolding

* refactor to fetch client

* body & header download

* p2p trusted opts

* add retries

* notify on retry

* clippy

* display err
This commit is contained in:
Roman Krasiuk
2023-01-04 21:33:08 +02:00
committed by GitHub
parent 28f67b371d
commit 973ea48e03
7 changed files with 220 additions and 4 deletions

View File

@ -47,3 +47,5 @@ clap = { version = "4.0", features = ["derive", "cargo"] }
thiserror = "1.0"
tokio = { version = "1.21", features = ["sync", "macros", "rt-multi-thread"] }
futures = "0.3.25"
tempfile = { version = "3.3.0" }
backon = "0.2.0"