Never mine a share on btc testnet?
xhliu opened this issue · 0 comments
xhliu commented
I followed instructions here and setup a litecoin pool. I mined many shares on the testnet. But as soon as I switched to btc, I was never able to mine a share even on the testnet. May be related to #298.
root:/# ~/tmp/minerd -o stratum+tcp://127.0.0.1:3032 -u mwLb1yq1KvrngQCGYb9embKYQ5wiNEd9W2 -p x -a sha256d --debug --protocol-dump
[2018-12-24 22:44:01] Binding thread 0 to cpu 0
[2018-12-24 22:44:01] 4 miner threads started, using 'sha256d' algorithm.
[2018-12-24 22:44:01] Starting Stratum on stratum+tcp://127.0.0.1:3032
* Rebuilt URL to: http://127.0.0.1:3032/
[2018-12-24 22:44:01] Binding thread 1 to cpu 1
[2018-12-24 22:44:01] Binding thread 3 to cpu 3
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* TCP_NODELAY set
* Adding handle: conn: 0x7f17b00134b0
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7f17b00134b0) send_pipe: 1, recv_pipe: 0
* Connected to 127.0.0.1 (127.0.0.1) port 3032 (#0)
* Connection #0 to host 127.0.0.1 left intact
[2018-12-24 22:44:01] > {"id": 1, "method": "mining.subscribe", "params": ["cpuminer/2.5.0"]}
[2018-12-24 22:44:01] Binding thread 2 to cpu 2
[2018-12-24 22:44:01] < {"id":1,"result":[[["mining.set_difficulty","deadbeefcafebabe0100000000000000"],["mining.notify","deadbeefcafebabe0100000000000000"]],"48000000",4],"error":null}
[2018-12-24 22:44:01] Stratum session id: deadbeefcafebabe0100000000000000
[2018-12-24 22:44:01] > {"id": 2, "method": "mining.authorize", "params": ["mwLb1yq1KvrngQCGYb9embKYQ5wiNEd9W2", "x"]}
[2018-12-24 22:44:01] < {"id":null,"method":"mining.set_difficulty","params":[8]}
[2018-12-24 22:44:01] Stratum difficulty set to 8
[2018-12-24 22:44:01] < {"id":null,"method":"mining.notify","params":["1","f8b4eeaede2658a447ef2c3bebe61fdfbf8752679ced8a0c0000012c00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4c039f1d16042661215c08fabe6d6d0000000001c045b80000000001c046b008200000000000020000000001bfa2700100000000000000","0d2f6e6f64655374726174756d2f00000000040000000000000000266a24aa21a9ed4a45b875de7faf8eba34361fd990f94d306dce8737f82b01c3ac5fd18f0fa257d3449604000000001976a914ad8c1777ba4b2aaed2e3cf99a256833e162d3e5288ac83e61100000000001976a9147ab6fdb5c1493091af885bf86c9a8a0d8914d14688ac80310100000000001976a914903c762f3970912b0d9fb44078dd33b50510ec1788ac00000000",["3e939ee1ba78edc857c84e7cc72e5bf010275a9ed2e65089bf39ef6956918075","7b010e864ec24b695a879c2d27c3375083d5fef107f41caa55a533e35f22dd9f","9edea1e6c4a5c4e4d96732e11f6d51760456fd37f2ea3a274b09f0682cb79c5f","a054b5d26908cbadc7b4ca59bc224b93ed36d08681698c23cc3bf016a140519f","9de350e6eeee5d398fee6472b36bdb83c6b98b8cace6878a5a6cff00465db67e"],"20000000","1a015269","5c216126",true]}
[2018-12-24 22:44:01] < {"id":2,"result":true,"error":null}
[2018-12-24 22:44:01] DEBUG: job_id='1' extranonce2=00000000 ntime=5c216126
[2018-12-24 22:44:01] Stratum requested work restart
[2018-12-24 22:44:02] thread 2: 2097152 hashes, 10904 khash/s
[2018-12-24 22:44:02] thread 0: 2097152 hashes, 10773 khash/s
[2018-12-24 22:44:02] thread 3: 2097152 hashes, 10747 khash/s
[2018-12-24 22:44:02] thread 1: 2097152 hashes, 10698 khash/s
[2018-12-24 22:44:45] < {"id":null,"method":"mining.notify","params":["2","f8b4eeaede2658a447ef2c3bebe61fdfbf8752679ced8a0c0000012c00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4c039f1d16045d61215c08fabe6d6d0000000001c21dd000000000000000010000000001c21d9000000000000000000100000000000000","0d2f6e6f64655374726174756d2f00000000040000000000000000266a24aa21a9edf2b898d7fa0174f0b9404f9890d28c7243221b762196824b210d40943ba715c2d3469604000000001976a914ad8c1777ba4b2aaed2e3cf99a256833e162d3e5288ac8ae61100000000001976a9147ab6fdb5c1493091af885bf86c9a8a0d8914d14688ac80310100000000001976a914903c762f3970912b0d9fb44078dd33b50510ec1788ac00000000",["3e939ee1ba78edc857c84e7cc72e5bf010275a9ed2e65089bf39ef6956918075","7b010e864ec24b695a879c2d27c3375083d5fef107f41caa55a533e35f22dd9f","4e716e039da44b3baaa0b42f13673f2f09456a26268ea141b58178f81a7d6fc3","a0b89fe83c4b49d886df4a81eeca82654d527f84757f970653e80973e7b624dc","f4f11983adf7172cb1de50ca902136148ecaafcb3631c920cf215da0a42def14"],"20000000","1a015269","5c21615d",false]}
[2018-12-24 22:44:45] DEBUG: job_id='2' extranonce2=00000000 ntime=5c21615d
[2018-12-24 22:45:04] thread 1: 641890336 hashes, 10298 khash/s
[2018-12-24 22:45:05] thread 3: 644801384 hashes, 10293 khash/s
[2018-12-24 22:45:05] thread 0: 646374720 hashes, 10286 khash/s
[2018-12-24 22:45:06] thread 2: 654266152 hashes, 10272 khash/s
[2018-12-24 22:45:40] < {"id":null,"method":"mining.notify","params":["3","f8b4eeaede2658a447ef2c3bebe61fdfbf8752679ced8a0c0000012c00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4c039f1d16049461215c08fabe6d6d00000000000000000000000000000000000000000000000000000000000000000100000000000000","0d2f6e6f64655374726174756d2f00000000040000000000000000266a24aa21a9ede0bd6f0fb239150abc6f0a4add59d2e8285ed9b6476bf820e432a9b10e7f70e5a3739604000000001976a914ad8c1777ba4b2aaed2e3cf99a256833e162d3e5288ac39e71100000000001976a9147ab6fdb5c1493091af885bf86c9a8a0d8914d14688ac8c310100000000001976a914903c762f3970912b0d9fb44078dd33b50510ec1788ac00000000",["3e939ee1ba78edc857c84e7cc72e5bf010275a9ed2e65089bf39ef6956918075","7b010e864ec24b695a879c2d27c3375083d5fef107f41caa55a533e35f22dd9f","93ae7570baf67fc88e4e7de2f1534f02dcf6fec24b0afeb46bcf1071e89da57c","389b81fc6277a951126f6d1ff0de5e3ea15b538968ebe260e0887db8501ec47c","ab60a9c09c409293864a32fce6d14db5e8ebbda69b353b92bd50a8a38d09c72e"],"20000000","1a015269","5c216194",false]}
[2018-12-24 22:45:40] DEBUG: job_id='3' extranonce2=00000000 ntime=5c216194
[2018-12-24 22:46:09] thread 1: 617908536 hashes, 9573 khash/s
[2018-12-24 22:46:09] thread 3: 617565328 hashes, 9563 khash/s
[2018-12-24 22:46:10] thread 0: 617136144 hashes, 9519 khash/s
[2018-12-24 22:46:10] thread 2: 616291952 hashes, 9511 khash/s
[2018-12-24 22:46:35] < {"id":null,"method":"mining.notify","params":["4","f8b4eeaede2658a447ef2c3bebe61fdfbf8752679ced8a0c0000012c00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4c039f1d1604cb61215c08fabe6d6d0000000c0a9d09720000000001b9c8200000000001b81e600000000708da18110100000000000000","0d2f6e6f64655374726174756d2f00000000040000000000000000266a24aa21a9ed1dd615811af70c49cf4a4fc2749f18b59524bbddbd752b0191db155d8c1b7663ee749604000000001976a914ad8c1777ba4b2aaed2e3cf99a256833e162d3e5288ac3ee71100000000001976a9147ab6fdb5c1493091af885bf86c9a8a0d8914d14688ac8c310100000000001976a914903c762f3970912b0d9fb44078dd33b50510ec1788ac00000000",["3e939ee1ba78edc857c84e7cc72e5bf010275a9ed2e65089bf39ef6956918075","7b010e864ec24b695a879c2d27c3375083d5fef107f41caa55a533e35f22dd9f","93ae7570baf67fc88e4e7de2f1534f02dcf6fec24b0afeb46bcf1071e89da57c","e69277cd0923b6dc393c9760413812090ca822008e03eb387b8722f72a1189a2","fc4d5008afd95d5da9c1c85bcc63b90626e9a754f035f500cfb003fae5e2dbcb"],"20000000","1a015269","5c2161cb",false]}
[2018-12-24 22:46:35] DEBUG: job_id='4' extranonce2=00000000 ntime=5c2161cb
[2018-12-24 22:47:11] thread 1: 574399512 hashes, 9231 khash/s
[2018-12-24 22:47:11] thread 3: 573806584 hashes, 9212 khash/s
[2018-12-24 22:47:11] thread 0: 571124528 hashes, 9228 khash/s
[2018-12-24 22:47:13] thread 2: 570681264 hashes, 9185 khash/s
[2018-12-24 22:47:30] < {"id":null,"method":"mining.notify","params":["5","f8b4eeaede2658a447ef2c3bebe61fdfbf8752679ced8a0c0000012c00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4c039f1d16040262215c08fabe6d6d00000000000000000000000000000000000000000000000000000000000000000100000000000000","0d2f6e6f64655374726174756d2f00000000040000000000000000266a24aa21a9edfa0f01306d932a54e36e0e79fbbc6a713fa1896fa05062a0adc74aedbb8452f3dd769604000000001976a914ad8c1777ba4b2aaed2e3cf99a256833e162d3e5288ac46e71100000000001976a9147ab6fdb5c1493091af885bf86c9a8a0d8914d14688ac8d310100000000001976a914903c762f3970912b0d9fb44078dd33b50510ec1788ac00000000",["3e939ee1ba78edc857c84e7cc72e5bf010275a9ed2e65089bf39ef6956918075","7b010e864ec24b695a879c2d27c3375083d5fef107f41caa55a533e35f22dd9f","93ae7570baf67fc88e4e7de2f1534f02dcf6fec24b0afeb46bcf1071e89da57c","c141f77d6a77044e893fb80b6f7156b092aa00971f299d17d879f975c7e44a08","735e0f0368111f0b40e6ec86958b05389cadaaa9bccde6da101c4ee9f845ae45","a733d802ba139af7c5ab42339f152d72dfe2b86cfd6bf126e6b7299f0a4214b5"],"20000000","1a015269","5c216202",false]}
[2018-12-24 22:47:30] DEBUG: job_id='5' extranonce2=00000000 ntime=5c216202
[2018-12-24 22:48:06] thread 1: 553885336 hashes, 10100 khash/s
[2018-12-24 22:48:06] thread 3: 552691208 hashes, 10096 khash/s
[2018-12-24 22:48:06] thread 0: 553662168 hashes, 10099 khash/s
[2018-12-24 22:48:07] thread 2: 551129304 hashes, 10043 khash/s
[2018-12-24 22:48:25] < {"id":null,"method":"mining.notify","params":["6","f8b4eeaede2658a447ef2c3bebe61fdfbf8752679ced8a0c0000012c00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4c039f1d16043962215c08fabe6d6d00000000000000000000000000000000000000000000000000000000000000000100000000000000","0d2f6e6f64655374726174756d2f00000000040000000000000000266a24aa21a9edc3ad6b9a36fa3151b629fd850b2583d10f2b28b34159dafbf12eb66d742f4ec2a2dd9604000000001976a914ad8c1777ba4b2aaed2e3cf99a256833e162d3e5288acd7e81100000000001976a9147ab6fdb5c1493091af885bf86c9a8a0d8914d14688aca7310100000000001976a914903c762f3970912b0d9fb44078dd33b50510ec1788ac00000000",["3e939ee1ba78edc857c84e7cc72e5bf010275a9ed2e65089bf39ef6956918075","7b010e864ec24b695a879c2d27c3375083d5fef107f41caa55a533e35f22dd9f","3f5a2e8c9341dae3ee51e2789c7e1a2344b7f91ea45c9bf71822b052c414111f","bc70eb0e6055dcf5f55b6c51aaf4401027fbe44ff3b40e70a7416cb0f4d8fe11","49967901573872f74976b8fd216727ca05ab0e0317af40b6cba361a3197787e3","a87d24625719f5718471c6873669841966b1511f446e4fa147e50c1d24a5b0a1"],"20000000","1a015269","5c216239",false]}
[2018-12-24 22:48:25] DEBUG: job_id='6' extranonce2=00000000 ntime=5c216239
[2018-12-24 22:48:38] DEBUG: hash > target (false positive)
Hash: 000000005e43267e935a122d2ffb5d7730726e08d0337e9577abf9725dcc59cd
Target: 000000001fffe000000000000000000000000000000000000000000000000000
[2018-12-24 22:49:06] thread 1: 606018816 hashes, 10026 khash/s
[2018-12-24 22:49:07] thread 3: 605763016 hashes, 9977 khash/s
[2018-12-24 22:49:07] thread 0: 605937376 hashes, 9996 khash/s
[2018-12-24 22:49:08] thread 2: 602573696 hashes, 9944 khash/s
[2018-12-24 22:49:20] < {"id":null,"method":"mining.notify","params":["7","f8b4eeaede2658a447ef2c3bebe61fdfbf8752679ced8a0c0000012c00000000","01000000010000000000000000000000000000000000000000000000000000000000000000ffffffff4c039f1d16047062215c08fabe6d6d0000000001be80680000000001be80180000000001be7fb800000000000000010100000000000000","0d2f6e6f64655374726174756d2f00000000040000000000000000266a24aa21a9ed999e2212c5493218baf1095524cdeb8c583293190f8fbfd786d2012afdc6763f954d9704000000001976a914ad8c1777ba4b2aaed2e3cf99a256833e162d3e5288ac8cea1100000000001976a9147ab6fdb5c1493091af885bf86c9a8a0d8914d14688acc5310100000000001976a914903c762f3970912b0d9fb44078dd33b50510ec1788ac00000000",["3e939ee1ba78edc857c84e7cc72e5bf010275a9ed2e65089bf39ef6956918075","7b010e864ec24b695a879c2d27c3375083d5fef107f41caa55a533e35f22dd9f","68d22716b55250caf7ca7622ab608aa00837b578ba364c91bb4e4d1cc1378095","6c54d9dd5e3f343db4719c2ad3e6c2faa940891c81a746b41ce634d791c614b9","91f4d3935f9842d4ca69adb29d6708cfcb0b6b422395f7dfec6eb1fcc185dc80","20012b63c9f3233f19890cc6759ae2149d3cc906f9354827dd400607a5084732"],"20000000","1a015269","5c216270",false]}
[2018-12-24 22:49:20] DEBUG: job_id='7' extranonce2=00000000 ntime=5c216270
[2018-12-24 22:49:47] DEBUG: hash > target (false positive)
Hash: 00000000ee0881b34d1937998268e4bc3c4efb0b9e71115473b53f2bb52ba310
Target: 000000001fffe000000000000000000000000000000000000000000000000000