log what block is being uploaded by hash
parent
56dc2e0ce7
commit
9601a3d072
|
@ -44,7 +44,7 @@ def upload_blocks_from_communicator(comm_inst):
|
|||
url = 'http://' + peer + '/upload'
|
||||
data = {'block': block.Block(bl).getRaw()}
|
||||
proxyType = proxypicker.pick_proxy(peer)
|
||||
logger.info("Uploading block to " + peer, terminal=True)
|
||||
logger.info("Uploading block %s to %s" % (bl[:8], peer), terminal=True)
|
||||
resp = basicrequests.do_post_request(url, data=data, proxyType=proxyType)
|
||||
if not resp == False:
|
||||
if resp == 'success':
|
||||
|
|
Loading…
Reference in New Issue