Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: b00mbastic on March 24, 2014, 04:57:40 AM



Title: Problems in setting up SecureCoin pool with stratum support
Post by: b00mbastic on March 24, 2014, 04:57:40 AM
Hi everybody.
I have some problems in setting up securecoin/quark-hash algo support in stratum-mining for my SRC pool.

I have compiled securecoind , stratum-mining , installed MPOS.
Everything is launched, looks fine, but my stratum does not accepts any shares.

I`ve made stratum-mining compilation with quark support like this:

git clone https://github.com/Tydus/litecoin_scrypt.git
git clone https://github.com/ahmedbodi/stratum-mining.git
git clone https://github.com/ahmedbodi/stratum.git

cd stratum-mining
git submodule init
git submodule update

cd externals/litecoin_scrypt
python setup.py install

cd ../quarkcoin-hash/
python setup.py install

cd ../stratum
python setup.py install


And after that - in "stratum-mining/conf/config.py" I`ve changed:

COINDAEMON_ALGO = 'quark'


Everything looks fine, while launching "twistd -y launcher.tac" I see:

2014-03-21 13:25:51,940 DEBUG halfnode # ########################################### Loading Quark Support #########################################################
2014-03-21 13:25:51,940 DEBUG halfnode # ########################################### NOT Loading SHA256 Transaction Message Support ###############################################
2014-03-21 13:25:51,941 DEBUG coinbasetx # Logging initialized
2014-03-21 13:25:51,941 DEBUG block_template # Logging initialized


Looks like quark submodule is loaded, but when I`ve connected miners to my pool - they works but no shares are found and accepted.
During last three days I see something like this:

[2014-03-21 14:41:51] thread 0: 1013097 hashes, 18.42 khash/s
[2014-03-21 14:42:49] thread 0: 1105435 hashes, 18.98 khash/s
[2014-03-21 14:43:49] thread 0: 1138503 hashes, 18.97 khash/s
[2014-03-21 14:44:49] thread 0: 1138002 hashes, 19.08 khash/s
[2014-03-21 14:45:50] thread 0: 1144806 hashes, 18.81 khash/s
[2014-03-21 14:46:49] thread 0: 1128398 hashes, 19.15 khash/s
[2014-03-21 14:47:49] thread 0: 1148977 hashes, 18.90 khash/s
[2014-03-21 14:48:50] thread 0: 1134168 hashes, 18.70 khash/s
[2014-03-21 14:49:06] Stratum detected new block
[2014-03-21 14:49:06] thread 0: 296411 hashes, 18.67 khash/s
[2014-03-21 14:50:05] thread 0: 1120018 hashes, 18.88 khash/s
[2014-03-21 14:50:51] Stratum detected new block
[2014-03-21 14:50:51] thread 0: 865204 hashes, 18.94 khash/s
[2014-03-21 14:51:52] thread 0: 1136667 hashes, 18.75 khash/s
[2014-03-21 14:52:53] thread 0: 1124903 hashes, 18.24 khash/s
[2014-03-21 14:53:16] Stratum detected new block
[2014-03-21 14:53:16] thread 0: 428222 hashes, 18.83 khash/s
[2014-03-21 14:53:41] Stratum detected new block
[2014-03-21 14:53:41] thread 0: 472167 hashes, 18.89 khash/s
[2014-03-21 14:54:06] Stratum detected new block
[2014-03-21 14:54:06] thread 0: 479723 hashes, 19.18 khash/s
[2014-03-21 14:55:06] thread 0: 1151040 hashes, 19.02 khash/s

for diffrenet types of CPU miners , but no "accepted" or "YAY!!!"


I suppose something is wrong with stratum, but don`t know what actually.
Can any body help me with this problem?



Title: Re: Problems in setting up SecureCoin pool with stratum support
Post by: ocminer on March 24, 2014, 07:24:23 AM
Your Diff is too high, mate.

Change Diff to something < 1 and you'll see accepted shares.


Title: Re: Problems in setting up SecureCoin pool with stratum support
Post by: b00mbastic on March 25, 2014, 05:04:18 AM
ocminer, thanx for reply. That was the correct solution.