Closed ghost closed 10 years ago
from sample
thats an old setting, I dont think its used anymore
Can you please help the rest of us? template_registry # [Failure instance: Traceback: : invalid address
@chaeplin step-by-step instruction for noobs, plz )
@chaeplin - I did use https://github.com/Crypto-Expert/stratum-mining/tree/maxcoin Got python-sha3 AND maxcoin-hash-python as noted above all set up as well.
When I run it - I get the error I already mentioned 3-4 times above...
it really works. after git clone use git checkout maxcoin
git clone https://github.com/Crypto-Expert/stratum-mining.git cd stratum-mining git checkout maxcoin update_submodules cd externals/maxcoin-hash-python python setup.py install cd ../stratum python setup.py install
I manually added these files: https://github.com/Crypto-Expert/stratum-mining/pull/239 and it works without an error too. Checking now to see if that's really the case.
Thanks for the info @Surgun - I'll make sure to test that too, but for now it seems to be working... That git checkout maxcoin - do you have any info on what it really does?
BTW - if anyone wants to test my pool, please head to: http://pool.Max-Coin.net ...
git checkout maxcoin checking out maxcoin branch of sources. My pool for test http://maxcoin.tk/
Ah, I was looking for how to checkout maxcoin branch! Couldn't figure it out for the life of me - so I manually copied the file diffs.
We both did the same thing, just in 2 diff ways :)
Thanks for sharing...
Im getting the following error
2014-02-08 16:08:09-0500 [Protocol,0,90.244.247.243] 2014-02-08 16:08:09,811 ERROR protocol # [Failure instance: Traceback: <type 'exceptions.NameError'>: global name 'sha256' is not defined
2014-02-08 16:08:09-0500 [Protocol,0,90.244.247.243] /usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/protocol.py:192:dataReceived
2014-02-08 16:08:09-0500 [Protocol,0,90.244.247.243] /usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/protocol.py:238:lineReceived
2014-02-08 16:08:09-0500 [Protocol,0,90.244.247.243] /usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/services.py:13:_handle_event
2014-02-08 16:08:09-0500 [Protocol,0,90.244.247.243] /usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/services.py:81:call
2014-02-08 16:08:09-0500 [Protocol,0,90.244.247.243] ---
Anyideas what i need to install
Answered my own question in that i put keccak as the alogorithm instead of 'max' in teh COINDAEMON_ALGO = setting, so now its working
Does anyone know how to set up the pool difficulty settings correctly? And fix the hash rate in MPOS?
Also, is is this type of output normal?
2014-02-08 17:44:05,258 DEBUG DB_Mysql # Finding user with id or username of twtw007007.3 2014-02-08 17:44:05,259 DEBUG mining # twtw007007.3 (22, 0, False, False, 1391899072) 0.00% work_id(1c55) job_id(d8) diff(512.000000)
I.e. - tha part of 0.00% work ID.. Just wondering if I may have something misconfigured, or one is supposed to see so many zeros ;)
waiting for blocks ,my pool http://115.28.163.16/index.php?page=dashboard
yep its fine :)
All - I compiled FULL HOW-TO for Setting up MaxCoin Mining Pool (wallet server, DB, stratum, and MPOS Web) - FROM START TO FINISH:
ENJOY: http://forum.max-coin.net/index.php/topic,11.msg17.html
Please share and comment.
And - please mine on my http://pool.max-coin.net !!! I'd really appreciate it! We found our second block just seconds ago! :)
@peconi how did you fix the hashrate of pool?
Divide by /256
On Fri, Feb 14, 2014 at 8:42 AM, zhoujianwei notifications@github.comwrote:
@peconi https://github.com/peconi how did you fix the hashrate of pool?
— Reply to this email directly or view it on GitHubhttps://github.com/Crypto-Expert/stratum-mining/issues/236#issuecomment-35083993 .
hmm i did the setup, all step by step, from your guide but im still getting this error after i launch the stratum :
$ twistd -ny launcher.tac
2014-02-26 19:31:12,139 INFO Cache # Caching initialized
2014-02-26 19:31:12,148 INFO mining # Connecting to litecoind...
2014-02-26 19:31:12,149 INFO bitcoin_rpc # Checking for submitblock
2014-02-26 19:31:12+0000 [-] Log opened.
2014-02-26 19:31:12+0000 [-] twistd 13.2.0 (/usr/bin/python 2.7.3) starting up.
2014-02-26 19:31:12+0000 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2014-02-26 19:31:12+0000 [-] Changing process name to maxcoin-stratum-mining
2014-02-26 19:31:12,399 INFO Cache # Caching initialized
2014-02-26 19:31:12,410 INFO mining # Connecting to litecoind...
2014-02-26 19:31:12,410 INFO bitcoin_rpc # Checking for submitblock
2014-02-26 19:31:12+0000 [-] Log opened.
2014-02-26 19:31:12+0000 [-] twistd 13.2.0 ( 2.7.3) starting up.
2014-02-26 19:31:12+0000 [-] reactor class: twisted.internet.epollreactor.EPollReactor.
2014-02-26 19:31:12,423 INFO mining # Found submitblock
2014-02-26 19:31:12+0000 [HTTPPageGetter,client] Unhandled error in Deferred:
2014-02-26 19:31:12+0000 [HTTPPageGetter,client] Unhandled Error
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 423, in errback
self._startRunCallbacks(fail)
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks
self._runCallbacks()
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 577, in _runCallbacks
current.result = callback(current.result, _args, *_kw)
File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1155, in gotResult
_inlineCallbacks(r, g, deferred)
---
^C2014-02-26 19:31:16,748 WARNING DBInterface # SIGINT Detected, shutting down 2014-02-26 19:31:16+0000 [-] Main loop terminated. 2014-02-26 19:31:16+0000 [-] Server Shut Down.
Have you tried this piece:
nano /usr/local/lib/python2.7/dist-packages/stratum-*-py2.7.egg/stratum/websocket_transport.py
# replace: from autobahn.websocket import WebSocketServerProtocol,
WebSocketServerFactory
WebSocketServerProtocol, WebSocketServerFactory
On Wed, Feb 26, 2014 at 2:33 PM, eskal notifications@github.com wrote:
hmm i did the setup, all step by step, from your guide but im still getting this error after i launch the stratum : $ twistd -ny launcher.tac 2014-02-26 19:31:12,139 INFO Cache # Caching initialized 2014-02-26 19:31:12,148 INFO mining # Connecting to litecoind... 2014-02-26 19:31:12,149 INFO bitcoin_rpc # Checking for submitblock 2014-02-26 19:31:12+0000 [-] Log opened. 2014-02-26 19:31:12+0000 [-] twistd 13.2.0 (/usr/bin/python 2.7.3) starting up. 2014-02-26 19:31:12+0000 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2014-02-26 19:31:12+0000 [-] Changing process name to maxcoin-stratum-mining 2014-02-26 19:31:12,399 INFO Cache # Caching initialized 2014-02-26 19:31:12,410 INFO mining # Connecting to litecoind... 2014-02-26 19:31:12,410 INFO bitcoin_rpc # Checking for submitblock 2014-02-26 19:31:12+0000 [-] Log opened. 2014-02-26 19:31:12+0000 [-] twistd 13.2.0 ( 2.7.3) starting up. 2014-02-26 19:31:12+0000 [-] reactor class: twisted.internet.epollreactor.EPollReactor. 2014-02-26 19:31:12,423 INFO mining # Found submitblock 2014-02-26 19:31:12+0000 [HTTPPageGetter,client] Unhandled error in Deferred: 2014-02-26 19:31:12+0000 [HTTPPageGetter,client] Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 423, in errback self. _startRunCallbacks(fail) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 490, in _startRunCallbacks self._runCallbacks() File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 577, in
_runCallbacks current.result = callback(current.result, args, *kw) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1155, in gotResult
_inlineCallbacks(r, g, deferred) --- --- File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py", line 1097, in
_inlineCallbacks result = result.throwExceptionIntoGenerator(g) File "/usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator return g.throw(self.type, self.value, self.tb) File "/home/manager/max-pool/mining/init.py", line 83, in setup if isinstance(e[2], str): exceptions.IndexError: tuple index out of range
^C2014-02-26 19:31:16,748 WARNING DBInterface # SIGINT Detected, shutting down 2014-02-26 19:31:16+0000 [-] Main loop terminated. 2014-02-26 19:31:16+0000 [-] Server Shut Down.
— Reply to this email directly or view it on GitHubhttps://github.com/Crypto-Expert/stratum-mining/issues/236#issuecomment-36166473 .
still same error, sorry the solution you gave me, is first thing i do after clean install of stratum-mining
I really wouldn't know. I've followed my own instructions as noted on the forum 6 times up to this point, and it worked every single time...
The only thing I can recommend is try again in a fresh folder. Make sure all dependencies are installed as specified (sha3, maxcoin-hash, etc.)
invalid user details or the rpc is refusing connections
yep i used wrong port number :) and also, peconi can you help with algo choice on mpos ? i set sha256d but, the hashrates are showing wrong numbers
Marking this as closed since its done
Hi,
Is it possible to support the Maxcoin keccak protocol please?
Regards,