jgarzik / pyminer

Python miner for bitcoin
MIT License
835 stars 355 forks source link

Error #12

Closed stehled closed 6 years ago

stehled commented 7 years ago

Process Process-1: Traceback (most recent call last): File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap self.run() File "C:\Python27\lib\multiprocessing\process.py", line 114, in run self._target(*self._args, *self._kwargs) File "C:\Users\edast\Desktop\pyminer-master\pyminer.py", line 207, in miner_thread miner.loop() File "C:\Users\edast\Desktop\pyminer-master\pyminer.py", line 197, in loop rpc = BitcoinRPC(settings['host'], settings['port'], KeyError: 'host' Process Process-2: Traceback (most recent call last): File "C:\Python27\lib\multiprocessing\process.py", line 258, in _bootstrap self.run() File "C:\Python27\lib\multiprocessing\process.py", line 114, in run self._target(self._args, **self._kwargs) File "C:\Users\edast\Desktop\pyminer-master\pyminer.py", line 207, in miner_thread miner.loop() File "C:\Users\edast\Desktop\pyminer-master\pyminer.py", line 197, in loop rpc = BitcoinRPC(settings['host'], settings['port'], KeyError: 'host' Traceback (most recent call last): File "C:\Users\edast\Desktop\pyminer-master\pyminer.py", line 221, in time.sleep(1) # stagger threads KeyboardInterrupt

SKlayer commented 6 years ago

i have the same fatal. and i try to solve..

lewislin3 commented 6 years ago

same problem

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.