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