mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat(sync): download peer penalization (#427)
* feat(sync): download peer penalization * peer penalization * add tracing on penalization * add trace on request * rename consensus back * clippy * fix tests * nit: download result * nit: fix comment * rename penalize() to report_bad_message() and move DownloadError Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
@ -72,9 +72,10 @@ impl Command {
|
||||
BodyStage {
|
||||
downloader: Arc::new(bodies::concurrent::ConcurrentDownloader::new(
|
||||
fetch_client.clone(),
|
||||
consensus.clone(),
|
||||
)),
|
||||
consensus: consensus.clone(),
|
||||
batch_size: 100,
|
||||
commit_threshold: 100,
|
||||
},
|
||||
false,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user