Hello friends!
I would like to ask you to help me test new stratum miner that i was working on last days.
I've just commited last changes of cpuminer to this repo:
https://github.com/cryptozoidberg/cpuminer-multiHere is pool repo:
https://github.com/cryptozoidberg/node-boolberry-poolI've started test server here:
http://162.243.210.156/This server is started only in test purposes. Once we find the block i'll turn it off and ask pool operators to update their pools.To start mining, pull soureces from miner repo, rebuild miner, and run it with this command:
./minerd -a wildkeccak -o stratum+tcp://162.243.210.156:7777 -u 1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE -p x -P -D -t 4
params -P and -D could be removed. You could also change address, but this is not important since i'm afraid you won't get paid from this test pool.
Important: this miner is not compatible with other coins pools/miners, and it should work at this moment ONLY in stratum mode.
Known bugs:
* {"id":1,"jsonrpc":"2.0","error":{"code":-1,"message":"Low difficulty share"}} - in miner. "Bad hash from miner..." - on pool server (hashes missmatched). I talked with some of pool operstors and it seems that this is old bug from lucasjone's code.
So, to prove that this miner and pool is working we have to find at least one block.
PS: For me, cpuminer have nightmare code! May be it's because i'm in love with C++ and writing code in C is almost painful for me. But, i've tryied hard to keep this cpuminer-like code style in my commits there. For this i get this error output . Don´t know if this related with slow connection.
./minerd -a wildkeccak -o stratum+tcp://162.243.210.156:7777 -u 1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE -p x -P -D -t 8
parsing algo: wildkeccak
[2014-07-03 15:28:01] Using JSON-RPC 2.0
[2014-07-03 15:28:01] Starting Stratum on stratum+tcp://162.243.210.156:7777
[2014-07-03 15:28:01] Binding thread 4 to cpu 4
[2014-07-03 15:28:01] Binding thread 3 to cpu 3
[2014-07-03 15:28:01] Binding thread 2 to cpu 2
* Rebuilt URL to: http://162.243.210.156:7777/
[2014-07-03 15:28:01] Binding thread 5 to cpu 5
* About to connect() to 162.243.210.156 port 7777 (#0)
[2014-07-03 15:28:01] 8 miner threads started, using 'wildkeccak' algorithm.
* Trying 162.243.210.156...
* TCP_NODELAY set
[2014-07-03 15:28:01] Binding thread 1 to cpu 1
* Adding handle: conn: 0x7f8a00013530
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
[2014-07-03 15:28:01] Binding thread 0 to cpu 0
* - Conn 0 (0x7f8a00013530) send_pipe: 1, recv_pipe: 0
[2014-07-03 15:28:01] Binding thread 7 to cpu 7
[2014-07-03 15:28:01] Binding thread 6 to cpu 6
* Connected to 162.243.210.156 (162.243.210.156) port 7777 (#0)
* Connection #0 to host 162.243.210.156 left intact
[2014-07-03 15:28:01] > {"method": "login", "params": {"login": "1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE", "pass": "x", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:28:01] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"321737723262049","job":{"blob":"","job_id":"","target":"","difficulty":"","prev_hi":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000","height":0}},"status":"OK","addms":[]}}
[2014-07-03 15:28:01] Auth id: 321737723262049
[2014-07-03 15:28:01] Requested work before work was received
[2014-07-03 15:28:01] Getting full scratchpad....
[2014-07-03 15:28:01] > {"method": "getfullscratchpad", "params": {"id": "321737723262049", "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:29:01] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"status":"OK","hi":{"block_id":"2e051a359c0a53ba673a2d2f5f9119044b9257976a441e0694437857ebf5c580","height":33210},"scratchpad_hex":"d73243ee4f03f9d84a82a52ae5ed784053ebb0cf273586efe1f2c6209ff2bbf2d9c8cb207cdaed5532b2c4797aa29be7ebbc607284b9f04d92e3bc185be454f0374bd7745444e629455e7aa06cbdc7b13467cfc7ac8b972f0933d27b77c2cfe1e131359b10b5797e4f756b8f6fc2c4e7cb8d2fbec8355db775369705fcec5f60f43ac2affb46498fbe632a05c02a08ce471dda1643b29f6bc2e2a29cdb8d48cd8550c9998f8550e77aa2ea2dee1086b33e264b3ff9131bf22621ebf24376a763d4f593963dfbe6a8e06da9786d64421f4ee550c4b53220d691b16ae0226f0c1c33daac93cf865969d3d414d7969c714d1d275d43e1400276e4d29bf618e8a8cda7fc90ec93cfb9661675b4ec52d1f065484066062331d8231758085fe93f7d3c2bf52f6650ceee4f5d536d94b84058acca39a20a227c481b7d7e160b30c508fa6c9be455599d4b0c909b555aac4f168df1aad6bff071091d2593ba7d8aa1a66c350e0a36386d0af2db0c1b1dddc0ec1630db51f8327802aa1fa4f3cf95ebdbebfa5b9cdc89fcd6d101c779361db6bab852681f4dfe3784e56...
[2014-07-03 15:29:01] JSON decode failed(1): premature end of input
[2014-07-03 15:29:01] Getting full scratchpad received line
[2014-07-03 15:29:01] JSON decode rpc2_getscratchpad response failed(1): premature end of input
[2014-07-03 15:29:01] > {"method": "getjob", "params": {"id": "321737723262049", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:30:01] < 778dec5f4a931c9eaea69ef738bcc65a798ac720b2c67885f99efc7bba5004e009fd72c7a20c392ef6d9ca0dd5cf60368dd5a0734d01a32cbf248c3767b0ec37dc9af2de58ea468257a6fa13af64fe09e82b4833e578480870cefd070865b8e26dbec78042547655be2d00e6c21938f948e136bc06a3daca1155b4232d96dcfa0cdb0f04c46021ffb09b6940467d5985337bf57feae628ffe61faa44c31c3ce2a188d23863dfa30432329675023df039061734f76d324199a9c6eb2a9bdb7eb82a42569c6f94380a24f8a93a3d5deb940697478e4d6918e7912b9cf443006b6daf16bffed40083083e85fb45c0ffb9df7475064513821b02e23c38c4a31d857aeee5f7e082f467cb870037dce895357f2996a725e5e2d09cf0c4f7abbb01550b7da812af42629782bd71290e84dfdc5e16472930c71191f80707522da65e0f26a3d4d267fe431fef26e3195844d8bc3fcbc3442e21f811292ed4ae1fd9a21a39dc4b19405b8be2b08498abfaf47704c8072da8517e8caf0832d3903bd432125dbba65b7d46f787a1a24baa0c8a61edcea64e973780d9e13732763a752c53ea934b1cb474597ab25ca388d2272304e8be75c28852bbc56aee67fb5ead037717ea62cab84d4796f862dae0b8d1f481218fa4ff895912debc5a7a4471ca1cfb003c2d4cae3aae75e8c637880c2ef735b4a4f81c...
[2014-07-03 15:30:01] JSON getwork decode failed(1): '[' or '{' expected near '778'
[2014-07-03 15:30:01] ...retry after 10 seconds
[2014-07-03 15:30:11] Stratum connection timed out
[2014-07-03 15:30:11] Stratum connection interrupted
* Rebuilt URL to: http://162.243.210.156:7777/
* About to connect() to 162.243.210.156 port 7777 (#1)
* Trying 162.243.210.156...
* TCP_NODELAY set
* Adding handle: conn: 0x7f8a00012f10
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 1 (0x7f8a00012f10) send_pipe: 1, recv_pipe: 0
* Connected to 162.243.210.156 (162.243.210.156) port 7777 (#1)
* Connection #1 to host 162.243.210.156 left intact
[2014-07-03 15:30:11] > {"method": "login", "params": {"login": "1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE", "pass": "x", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:30:11] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"400770579511299","job":{"blob":"","job_id":"","target":"","difficulty":"","prev_hi":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000","height":0}},"status":"OK","addms":[]}}
[2014-07-03 15:30:11] Auth id: 400770579511299
[2014-07-03 15:30:11] Requested work before work was received
[2014-07-03 15:30:11] Getting full scratchpad....
[2014-07-03 15:30:11] > {"method": "getfullscratchpad", "params": {"id": "400770579511299", "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:31:11] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"status":"OK","hi":{"block_id":"2e051a359c0a53ba673a2d2f5f9119044b9257976a441e0694437857ebf5c580","height":33210},"scratchpad_hex":"d73243ee4f03f9d84a82a52ae5ed784053ebb0cf273586efe1f2c6209ff2bbf2d9c8cb207cdaed5532b2c4797aa29be7ebbc607284b9f04d92e3bc185be454f0374bd7745444e629455e7aa06cbdc7b13467cfc7ac8b972f0933d27b77c2cfe1e131359b10b5797e4f756b8f6fc2c4e7cb8d2fbec8355db775369705fcec5f60f43ac2affb46498fbe632a05c02a08ce471dda1643b29f6bc2e2a29cdb8d48cd8550c9998f8550e77aa2ea2dee1086b33e264b3ff9131bf22621ebf24376a763d4f593963dfbe6a8e06da9786d64421f4ee550c4b53220d691b16ae0226f0c1c33daac93cf865969d3d414d7969c714d1d275d43e1400276e4d29bf618e8a8cda7fc90ec93cfb9661675b4ec52d1f065484066062331d8231758085fe93f7d3c2bf52f6650ceee4f5d536d94b84058acca39a20a227c481b7d7e160b30c508fa6c9be455599d4b0c909b555aac4f168df1aad6bff071091d2593ba7d8aa1a66c350e0a36386d0af2db0c1b1dddc0ec1630db51f8327802aa1fa4f3cf95ebdbebfa5b9cdc89fcd6d101c779361db6bab852681f4dfe3784e56...
[2014-07-03 15:31:11] JSON decode failed(1): premature end of input
[2014-07-03 15:31:11] Getting full scratchpad received line
[2014-07-03 15:31:11] JSON decode rpc2_getscratchpad response failed(1): premature end of input
[2014-07-03 15:31:11] > {"method": "getjob", "params": {"id": "400770579511299", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:32:11] < f2832829816c26346aff45d6143e58df600a9858dad79e43cfaae1f90221173c7d18f5772b1ff82cbb901b1d4c974e1b62237e4cc931200dd9e952af37f84266dd4bfb825856a949ec36c7b5bbd82909031aab55b38f0dae057d87b2d66c27f9933cea71506bf2c0198d415420611d808c0a29ab00caf0fa406d6393b367e49c948c76d971a4d5c48ce51a32685c23a5ba2641b7414691dfb01fe8e828102b2d87b267896704c9a08de55d620e989acaca6feec349b3febd40ed94e73c6629257a583798a6f1192bac78332b73408bed57968282f0f2f02a636d78cbd22c6754e724e39198492bd1bdc877fdfcd72f57eacee04e216c90ac6b7c8210be5dddae476164a0431a3019abd43612c4bc192202e9c6719cc87cbaab8278fffc1abb95a23c4fb108ff1cf7bb7b1803ba771ab6a4cc4a36b1ad407748cae96699cd6dc9b8236f6ff9c5dc8c739998489b5abfc93f36d0a6c44b4f7e396b10e536b06bd668a82e45ce3f7aaf3e15ba4c88d6580e070f301b3246fc60771025471e83a14efb109fad00feda653cf01380c038937c4a542f747b39cb5647ca658fe1e1bb24941d54a97c04445fef862badfba18904f22af28dbd2a767f31a8b69d38d0df0a30a98ff97128c6f183090008879ae256b46321f708c64de7699295e45ddef38dd802cf363e7806530a17d26a6d3776344675...
[2014-07-03 15:32:11] JSON getwork decode failed(1): '[' or '{' expected near 'f'
[2014-07-03 15:32:11] ...retry after 10 seconds
[2014-07-03 15:32:21] Stratum connection timed out
[2014-07-03 15:32:21] Stratum connection interrupted
* Rebuilt URL to: http://162.243.210.156:7777/
* About to connect() to 162.243.210.156 port 7777 (#2)
* Trying 162.243.210.156...
* TCP_NODELAY set
* Adding handle: conn: 0x7f8a00012b50
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 2 (0x7f8a00012b50) send_pipe: 1, recv_pipe: 0
* Connected to 162.243.210.156 (162.243.210.156) port 7777 (#2)
* Connection #2 to host 162.243.210.156 left intact
[2014-07-03 15:32:21] > {"method": "login", "params": {"login": "1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE", "pass": "x", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:32:21] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"926133013982325","job":{"blob":"","job_id":"","target":"","difficulty":"","prev_hi":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000","height":0}},"status":"OK","addms":[]}}
[2014-07-03 15:32:21] Auth id: 926133013982325
[2014-07-03 15:32:21] Requested work before work was received
[2014-07-03 15:32:21] Getting full scratchpad....
[2014-07-03 15:32:21] > {"method": "getfullscratchpad", "params": {"id": "926133013982325", "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:33:21] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"status":"OK","hi":{"block_id":"2e051a359c0a53ba673a2d2f5f9119044b9257976a441e0694437857ebf5c580","height":33210},"scratchpad_hex":"d73243ee4f03f9d84a82a52ae5ed784053ebb0cf273586efe1f2c6209ff2bbf2d9c8cb207cdaed5532b2c4797aa29be7ebbc607284b9f04d92e3bc185be454f0374bd7745444e629455e7aa06cbdc7b13467cfc7ac8b972f0933d27b77c2cfe1e131359b10b5797e4f756b8f6fc2c4e7cb8d2fbec8355db775369705fcec5f60f43ac2affb46498fbe632a05c02a08ce471dda1643b29f6bc2e2a29cdb8d48cd8550c9998f8550e77aa2ea2dee1086b33e264b3ff9131bf22621ebf24376a763d4f593963dfbe6a8e06da9786d64421f4ee550c4b53220d691b16ae0226f0c1c33daac93cf865969d3d414d7969c714d1d275d43e1400276e4d29bf618e8a8cda7fc90ec93cfb9661675b4ec52d1f065484066062331d8231758085fe93f7d3c2bf52f6650ceee4f5d536d94b84058acca39a20a227c481b7d7e160b30c508fa6c9be455599d4b0c909b555aac4f168df1aad6bff071091d2593ba7d8aa1a66c350e0a36386d0af2db0c1b1dddc0ec1630db51f8327802aa1fa4f3cf95ebdbebfa5b9cdc89fcd6d101c779361db6bab852681f4dfe3784e56...
[2014-07-03 15:33:21] JSON decode failed(1): premature end of input
[2014-07-03 15:33:21] Getting full scratchpad received line
[2014-07-03 15:33:21] JSON decode rpc2_getscratchpad response failed(1): premature end of input
[2014-07-03 15:33:21] > {"method": "getjob", "params": {"id": "926133013982325", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:34:21] < c5595dafbdd459c949fa154c1571c366e6627e5be85d22de4de14e502fd4a4aa579157a6f0e63a883ad7b858e7002b3599e96ad132ba012900109bc8adf09a7a7ec35e05c10519a837ef1ebd0daa0057b3dd853229853dfd80121962f5b30f4fac3500b93eb69e73be9dd93ff4af56ae8e9345328c2810522cf81fdf24c9a4c0f86dfe7162f86321a6fdc5a0353a36718476fc92863b8ee771c554b183776d44ab3adef09f28719bad60e2ae552bdcb9c2a58f86dbc5f6e0477d62f4427bf2ec8b61534c8ac5908af938cdac255b6d4d7f0d67b2605af320f4cab973e79243e1190f00431c9b2b942867d96aaa3545b701e4e3f7f6e81fb5c55d5e6f5a299db43d376dbab99d943676555e5feca5e2bcde091bfe3ba91b8ff88a3512823548dddfb3debed4bb6989486de3ad3634164b242e45eb0beeabde1aab18afce4cf37362ecbdfa175ee55547f4d08d86929f0356a296cb65899072b171ce729d1326e7a81ed033a609fe311632ac5e7646a028cbd907a2cb3fd60bd35d61e62a1127df2ee6abcea3868816f56dcf485f6948fe82c6db915a5ee064c643abddaab577b52f6b3ed0a83e2ec7412b690023a8b9f6485638c6cdede890ae7233458381f225b5df473d5cd5007d2b74586a7616af9b58c5e7d62ffe82ac65d6356e4c25faa80890000c0188eb4b7b37778467e8c774e3fb...
[2014-07-03 15:34:21] JSON getwork decode failed(1): '[' or '{' expected near 'c'
[2014-07-03 15:34:21] ...retry after 10 seconds
[2014-07-03 15:34:31] Stratum connection timed out
[2014-07-03 15:34:31] Stratum connection interrupted
* Rebuilt URL to: http://162.243.210.156:7777/
* About to connect() to 162.243.210.156 port 7777 (#3)
* Trying 162.243.210.156...
* TCP_NODELAY set
* Adding handle: conn: 0x7f8a00012b50
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 3 (0x7f8a00012b50) send_pipe: 1, recv_pipe: 0
* Connected to 162.243.210.156 (162.243.210.156) port 7777 (#3)
* Connection #3 to host 162.243.210.156 left intact
[2014-07-03 15:34:31] > {"method": "login", "params": {"login": "1L1ZPC9XodC6g5BX8j8m3vcdkXPiZrVF7RcERWE879coQDWiztUbkkVZ86o43P27Udb3qxL4B41gbaGpvj3nS7DgFZauAZE", "pass": "x", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}
[2014-07-03 15:34:31] < {"id":1,"jsonrpc":"2.0","error":null,"result":{"id":"731819144729524","job":{"blob":"","job_id":"","target":"","difficulty":"","prev_hi":{"block_id":"0000000000000000000000000000000000000000000000000000000000000000","height":0}},"status":"OK","addms":[]}}
[2014-07-03 15:34:31] Auth id: 731819144729524
[2014-07-03 15:34:31] Requested work before work was received
[2014-07-03 15:34:31] Getting full scratchpad....
[2014-07-03 15:34:31] > {"method": "getfullscratchpad", "params": {"id": "731819144729524", "agent": "cpuminer-multi/0.1"}, "id": 1}