Title: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 04:57:31 PM Hello,
I started a new MaxCoin Pool (pool.max-coin.net) and everything is ready except one small issue. All work done by miners is not counted in. The error in the shares table in the database says: -> Share is above target. Hash: %s All client shares sent to my stratum are not being accepted. In a spirit of sharing, and helping us all get more MaxCoin pools for a healthier network, here are the full instructions on how I got the stratum-mining-maxcoin to actually work: http://pastebin.com/NZSKV0vQ Can someone PLEASE assist. I think one needs to replace ECDSA with Schnorr signing and use secp256r1 curve over secp256k1 (something I read somewhere on line) - alas I would not know where to begin. THERE'S A BOUNTY FOR THIS from HashFaster: http://hashfaster.com/maxcoin-stratum-bounty-1-btc/ 1BTC to anyone who gets a working public REPO on Git for this. Please assist! Thank you! Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: archit on February 08, 2014, 05:00:42 PM Taking a look at it ;)
EDIT : Damn, it's python! Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 05:04:42 PM Yea it is :)
Here's what I've done to get the stratum-mining-maxcoin actually running on Ubuntu 12.04: Code:
Alas - the errors when I look at shares DB in the database show this: Code: *************************** 593. row *************************** It seems that a good number of other pools figured this out, however, none of them are sharing any info... Looking at you RocketPool! Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: Surgun on February 08, 2014, 05:10:52 PM ypool drop support for MaxCoin, lol: https://twitter.com/ypool_net/statuses/432179313102696450
Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 05:16:56 PM I started back my stratum server.
If you want to try sending work to it just to test, please just do the following: minerd -a keccak -o stratum+tcp://stratum01.max-coin.net:3333 -u cryptomind.cloud -p 1 -t1 From the client I get: Code: root@ubuntu-1204LTS:~# minerd -a keccak -o stratum+tcp://stratum01.max-coin.net:3333 -u cryptomind.cloud -p 1 -t 1 From the stratum log I get: Code: 2014-02-08 12:12:51,216 DEBUG bitcoin_rpc_manager # Check Height -- Current Pool 0 : 5598 Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: sippsnapp on February 08, 2014, 05:23:30 PM People with wrong settings on cudaminer get a huge hashrate, but actually the miner is not mining (GPU load below 20%). Resulting on a pool with millions of invalid shares, Ddosing the db. If a botnet does that or multiple uisers the pools goesdown on I/o put through ---- my humble conclusion.
Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 05:25:12 PM I am cpu mining in that example, cpu is being used, however, the shares are getting rejected...
DEBUG mining # cryptomind.be (0, 0, True, False, 1391880117) 1500.00% work_id(40f) job_id(17) diff(16.000000) ... Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: Surgun on February 08, 2014, 05:31:37 PM Taking a look at it ;) EDIT : Damn, it's python! do this in ruby ;) Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: maxcoinproject on February 08, 2014, 05:32:35 PM We've heard from the guys with pools up & running that they have pushed their source to: https://github.com/Crypto-Expert/stratum-mining/tree/maxcoin. Hopefully you guys can use this to get some more online.
Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: Surgun on February 08, 2014, 05:46:26 PM for right stratum do this:
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 Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 07:30:37 PM Deploying https://github.com/Crypto-Expert/stratum-mining/tree/maxcoin rite now. Will let you guys know how it works.
Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 07:55:47 PM Probably a single step away from solution:
Code: 2014-02-08 14:55:00,059 INFO mining # MINING SERVICE IS READY Any thoughts? Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 08:55:17 PM OK, i I manually added these files (https://github.com/Crypto-Expert/stratum-mining/pull/239) and it works without an error too.
If you guys have miners - please join... I'm getting some hashes now! :) Thanks Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: Surgun on February 08, 2014, 09:12:47 PM maxcoin. tk is up.
Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: cryptomind on February 08, 2014, 10:48:30 PM The only issues left now are:
1) Find a first block, so we know things are working correctly 2) Fix the hash rate display - people are mining at "supposedly" 400GH/s... If anyone knows what's going on - please share :) Thanks! Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: Alphi on February 19, 2014, 09:32:37 AM for right stratum do this: 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 tried both methods... this one and copying only the modified files... still no luck I get the following from cgminer 3.7.2 for maxcoin Rejected 01a3dc72 Diff 1/64 GPU 0 (global name 'sha256' is not any ideas? EDIT NVM I found it... need to update from 'keccak' to COINDAEMON_ALGO = 'max' in config.py Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: Hashturbater on February 28, 2014, 06:15:20 PM I've tried doing...
--------------------------------------------------------- cd ~ git clone https://github.com/Crypto-Expert/stratum-mining.git stratum-mining-max cd stratum-mining-max git checkout maxcoin ./update_submodules cd externals/maxcoin-hash-python python setup.py install cd ../stratum python setup.py install update the "autobahn.twisted.websocket import" line cp sample config and edit it, using coin daemon as "max", wallet addy, rpc items, etc. then running, twistd -ny launcher.tac from ~/stratum-mining-max --------------------------------------------------------- but I'm getting the following... 2014-02-28 10:44:01,542 ERROR template_registry # [Failure instance: Traceback: <type 'exceptions.NameError'>: global name 'sha3_256' is not defined /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:1155:gotResult /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:1142:_inlineCallbacks /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:382:callback /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:490:_startRunCallbacks --- <exception caught here> --- Title: Re: MAX COIN POOL BOUNTY (help fix stratum-mining) and start new pools! Post by: thedonkeyking on March 03, 2014, 05:11:24 PM but I'm getting the following... 2014-02-28 10:44:01,542 ERROR template_registry # [Failure instance: Traceback: <type 'exceptions.NameError'>: global name 'sha3_256' is not defined /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:1155:gotResult /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:1142:_inlineCallbacks /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:382:callback /usr/local/lib/python2.7/dist-packages/Twisted-13.2.0-py2.7-linux-x86_64.egg/twisted/internet/defer.py:490:_startRunCallbacks --- <exception caught here> --- Did you ever figure out the sha3_256 error? I'm getting the exact same thing. I've tried clean installs, different git repos, nothing. Anyone else have a solution for the sha3_256 not defined error? |