debugging blocks

master
Kevin Froman 2018-01-28 16:26:34 -06:00
parent 172e709c46
commit 7533fda399
No known key found for this signature in database
GPG Key ID: 0D414D0FE405B63B
1 changed files with 1 additions and 0 deletions

View File

@ -104,6 +104,7 @@ class OnionrCommunicate:
self._core.setPeerInfo(i, "blockDBHash", currentDB) self._core.setPeerInfo(i, "blockDBHash", currentDB)
else: else:
logger.warn("Peer " + i + " returned malformed hash") logger.warn("Peer " + i + " returned malformed hash")
logger.debug('BLOCKS: \n' + blocks)
blockList = blocks.split('\n') blockList = blocks.split('\n')
for i in blockList: for i in blockList:
logger.debug('Exchanged block (blockList): ' + i) logger.debug('Exchanged block (blockList): ' + i)