Post
Topic
Board Announcements (Altcoins)
Re: [ANN][APT] Aptcoin★ASIC Resistant Scrypt In-Motion(NM)
by
jojo_le_haricot
on 19/05/2016, 19:31:54 UTC
I changed the block explorer to http://45.32.67.42:3001/ because I wanted port 80 for a pool.

I am testing a pool but it won't accept found blocks.

Here is the error from the stratum log:

Code:
2016-05-16 00:32:09,128 INFO template_registry template_registry.submit_share # We found a block candidate! 0000000c1160fd144d21951f38449baf097a114105d7045b498592be8f30df90
2016-05-16 00:32:09,142 ERROR protocol protocol.process_failure # [Failure instance: Traceback: : 'BlockTemplate' object has no attribute 'calc_sha256'
/usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/protocol.py:192:dataReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/protocol.py:238:lineReceived
/usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/services.py:13:_handle_event
/usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/services.py:81:call
--- ---
/usr/lib/python2.7/dist-packages/twisted/internet/defer.py:139:maybeDeferred
/usr/local/lib/python2.7/dist-packages/stratum-0.3.14-py2.7.egg/stratum/services.py:78:_run
/home/d/stratum-mining/mining/service.py:172:submit
/home/d/stratum-mining/lib/template_registry.py:329:submit_share
/home/d/stratum-mining/lib/halfnode.py:358:is_valid
]

Any ideas?

This has not been tested for some time.  Have you certainly installed the aptcoin_scrypt and stratum_mining from the aptcoin github sources after or instead of installing the normal ones?  Also, the configuration appears to not be correct.  Perhaps yours is trying to use sha256 instead of scrypt-nm?

I followed this:

Attention all Pool Operators:

We have added stratum support for aptcoin to the stratum-mining module.  All of the code is in github, and the easiest way to get it is as follows:

https://github.com/aptcoin/stratum-mining.git

Follow normal pool setup instructions (for example the MPos quickstart guide), but using our stratum-mining module instead.  The steps differ only a little bit:

cd stratum-mining
git submodule init
git submodule update

cd externals/aptcoin_scrypt
sudo python setup.py install

cd ../stratum
sudo python setup.py install

Then add your config file to stratum-mining/conf/config.py (be sure to specify 'scrypt-nm' instead of 'scrypt' though) and start the pool.

This does not affect the pool front end that you're using.

This does not require a new Aptcoin release, however it won't hurt to update your CPUminer if you're going to mine against a pool.  Our version is here:

https://github.com/aptcoin/cpuminer.git

Questions, comments, problems?  Let us know!


Ok and it works ? can we sign up to your pool ?