added logical comment
This commit is contained in:
parent
803855f819
commit
389d0455fb
3
main.py
3
main.py
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue