diff --git a/src/client.py b/src/client.py --- a/src/client.py +++ b/src/client.py @@ -4,6 +4,7 @@ import logging as log from datetime import datetime import config as conf +import stats from util import Progress from hashtree import HashTree from networkers import NetworkReader,NetworkWriter @@ -53,6 +54,7 @@ class Client: jsonData,binData=incoming.readMsg() assert jsonData["index"]==i assert jsonData["dataType"]=="hash" + stats.logExchangedNode() if localTree.store[i]!=binData: if 2*i+3