'nofee':{'shares': default_shares, 'name': 'nofee',
'mine_address': 'nofeemining.com:8332', 'user': nofee_user,
'pass': nofee_pass, 'lag': False, 'LP': None,
'api_address':'https://www.nofeemining.com/api.php?key=' + nofee_user_apikey, 'role':'mine'}
...
def nofee_sharesResponse(response):
global servers
info = json.loads(response)
round_shares = int(info['poolRoundShares'])
servers['nofee']['shares'] = round_shares
bitHopper.log_msg('nofee:' + FormatShares(round_shares))
...
'nofee':nofee_sharesResponse,
but i get the following error:
"[Failure instance: Traceback:: No JSON object could be decoded\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1076:gotResult\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1063:_inlineCallbacks\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:361:callback\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks\n--- ---\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:542:_runCallbacks\n/home/user/bitHopper/pool.py:195:selectsharesResponse\n/home/user/bitHopper/pool.py:169:nofee_sharesResponse\n/usr/lib/python2.6/json/__init__.py:307:loads\n/usr/lib/python2.6/json/decoder.py:319:decode\n/usr/lib/python2.6/json/decoder.py:338:raw_decode\n]"
the api definitely works from curl and wget, and the identifier is 'poolRoundShares'.
no fee mining is a prop pool that proudly proclaim on their website :"no pool hopping protection" ! they want us bad. i like being wanted. So any ideas on a fix?
I'm having the same issues, have you figured this out? Ive on NFM for a while and it looks and sounds decent. If you hit up https://www.nofeemining.com/api.php you get the pool stats, no API key required. What does No JSON object could be decoded mean? It seems like there is a poolRoundShares item in the response.