From 3facd9ef36a364d314572545e9ddc72e60c5a727 Mon Sep 17 00:00:00 2001 From: Sorin Stanculeanu Date: Thu, 20 Oct 2022 11:29:25 +0300 Subject: [PATCH] renamed received with processed into SyncStatisticsHandler --- data/interface.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/interface.go b/data/interface.go index e76c1fcc2..f2ac89fdc 100644 --- a/data/interface.go +++ b/data/interface.go @@ -348,10 +348,10 @@ type MiniBlockInfo struct { // SyncStatisticsHandler defines the methods for a component able to store the sync statistics for a trie type SyncStatisticsHandler interface { Reset() - AddNumReceived(value int) + AddNumProcessed(value int) AddNumLarge(value int) SetNumMissing(rootHash []byte, value int) - NumReceived() int + NumProcessed() int NumLarge() int NumMissing() int IsInterfaceNil() bool