taking esp32 diff

This commit is contained in:
Pherelo_HD 2021-03-15 22:42:06 +00:00 committed by GitHub
parent 8e7d7a5850
commit 2f066392d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@ while True:
print("Server is on version", server_version)
# Mining section
while True:
soc.send(bytes("JOB," + str(username) + ",LOW", encoding="utf8")) # Send job request
soc.send(bytes("JOB," + str(username) + ",ESP32", encoding="utf8")) # Send job request
# Don't mind the "LOW" for now since it is in an early state
# Don't mind the "ESP32" 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)