jgarzik / pyminer

Python miner for bitcoin
MIT License
840 stars 354 forks source link

Syntax error #21

Closed viraxor closed 2 years ago

viraxor commented 4 years ago

MAX_NONCE = 1000000L is the code

Shubhaankar-Sharma commented 4 years ago

you have to run this on python 2

appledevpro commented 3 years ago

yea i did that

ORP967 commented 2 years ago

I have a working miner that uses the current "getworktemplate" in python 3. It is a code from (https://github.com/vsergeev) that I changed to check for a new block every 20 sc or so and start mining again every time a new block is detected. Currently getting 1.01KH/s on a Dell.