Update class_receiveDataThread.py
changed comments to clarify that a smaller value for the "POW" variable corresponds to a stronger proof of work
This commit is contained in:
parent
4946600262
commit
82a2c051bb
|
@ -300,7 +300,7 @@ class receiveDataThread(threading.Thread):
|
||||||
numberOfObjectsInInvMessage = 0
|
numberOfObjectsInInvMessage = 0
|
||||||
payload = ''
|
payload = ''
|
||||||
# Now let us start appending all of these hashes together. They will be
|
# Now let us start appending all of these hashes together. They will be
|
||||||
# sent out in a big inv message to our new peer in POW order
|
# sent out in a big inv message to our new peer with the stonger POW objects first
|
||||||
for hash in sorted(bigInvList, key=bigInvList.__getitem__):
|
for hash in sorted(bigInvList, key=bigInvList.__getitem__):
|
||||||
payload += hash
|
payload += hash
|
||||||
numberOfObjectsInInvMessage += 1
|
numberOfObjectsInInvMessage += 1
|
||||||
|
|
Reference in New Issue
Block a user