From ca3bd3eeeec65ef04a7ff927805408075b811371 Mon Sep 17 00:00:00 2001 From: Agnish Ghosh Date: Fri, 28 Jun 2024 18:04:46 +0530 Subject: [PATCH] experimental: disable scoring for data columns --- beacon_chain/sync/request_manager.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beacon_chain/sync/request_manager.nim b/beacon_chain/sync/request_manager.nim index 3b6badb0b..94e56e2b3 100644 --- a/beacon_chain/sync/request_manager.nim +++ b/beacon_chain/sync/request_manager.nim @@ -280,7 +280,7 @@ proc fetchDataColumnsFromNetwork(rman: RequestManager, if not checkResponse(colIdList, ucolumns.asSeq()): debug "Mismatched response to data columns by root", peer = peer, columns = shortLog(colIdList), ucolumns = len(ucolumns) - peer.updateScore(PeerScoreBadResponse) + # peer.updateScore(PeerScoreBadResponse) return for col in ucolumns: @@ -297,7 +297,7 @@ proc fetchDataColumnsFromNetwork(rman: RequestManager, else: debug "Data columns by root request failed", peer = peer, columns = shortLog(colIdList), err = columns.error() - peer.updateScore(PeerScoreNoValues) + # peer.updateScore(PeerScoreNoValues) finally: if not(isNil(peer)):