diff --git a/onionr/communicator.py b/onionr/communicator.py index e71c6a00..86665264 100755 --- a/onionr/communicator.py +++ b/onionr/communicator.py @@ -181,7 +181,7 @@ class OnionrCommunicate: continue if self._utils.hasBlock(i): continue - logger.debug('Exchanged block (blockList): ' + i) + #logger.debug('Exchanged block (blockList): ' + i) if not self._utils.validateHash(i): # skip hash if it isn't valid logger.warn('Hash ' + i + ' is not valid') @@ -230,7 +230,7 @@ class OnionrCommunicate: if len(data) < 120: logger.debug('Block text:\n' + data) else: - logger.warn("Failed to validate " + hash) + logger.warn("Failed to validate " + hash + " " + " hash calculated was " + digest) return diff --git a/onionr/onionrutils.py b/onionr/onionrutils.py index 8dcdb89b..dc4d048a 100644 --- a/onionr/onionrutils.py +++ b/onionr/onionrutils.py @@ -96,10 +96,10 @@ class OnionrUtils: retVal = False if newAdderList != False: for adder in newAdderList.split(','): + logger.debug('Seeing if we should add ' + adder) if not adder in self._core.listAdders(randomOrder=False) and adder.strip() != self.getMyAddress(): if self._core.addAddress(adder): logger.info('Added ' + adder + ' to db.', timestamp=True) - input() retVal = True else: logger.debug(adder + " is either our address or already in our DB")