Skip to content

Commit

Permalink
Merge pull request #109 from ElrondNetwork/sync_statistics_received_t…
Browse files Browse the repository at this point in the history
…o_processed

Rename received with processed into SyncStatisticsHandler
  • Loading branch information
sstanculeanu authored Oct 20, 2022
2 parents 929c00f + 3facd9e commit 2f53ca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2f53ca2

Please sign in to comment.