added logical comment

This commit is contained in:
Pherelo_HD 2021-03-15 22:17:34 +00:00 committed by GitHub
parent 803855f819
commit 389d0455fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,9 @@ while True:
# Mining section
while True:
soc.send(bytes("JOB," + str(username) + ",LOW", encoding="utf8")) # Send job request
# Don't mind the "LOW" for now since it is in an early state
job = soc.recv(1024).decode() # Get work from pool
job = job.split(",") # Split received data to job (job and difficulty)
difficulty = job[2]