Pages:
Author

Topic: [28 TH] pool.itzod.ru - RSMPPS/LongPoll/JSON API/Websockets/No Invalids/Stratum - page 12. (Read 50887 times)

legendary
Activity: 3108
Merit: 1359
We successfully switched to new hardware. Smiley
legendary
Activity: 3108
Merit: 1359
  • GBT support enabled as an experiment.
  • Still working on stratum support.
legendary
Activity: 3108
Merit: 1359
  • Now user can change difficulty of shares "on-the-fly", this doesn't cause "target-miss" errors anymore.
  • Switched to bitcoin 0.7.1 release instead of 0.6.99 snapshot.

P.S. Working on stratum support.
legendary
Activity: 3108
Merit: 1359
IP address verification link:

http://verify.itzod.ru/

This can help those whose address was blocked.
There was a bug in page, it's fixed now.
legendary
Activity: 3108
Merit: 1359
IP address verification link:

http://verify.itzod.ru/

This can help those whose address was blocked.
legendary
Activity: 3108
Merit: 1359
  • Connections limit per-host implemented for some reasons

Replaced with LongPoll connections limit per worker.
sr. member
Activity: 458
Merit: 250
beast at work
  • Automatic withdrawal feature implemented

I was about to ask for something like this, when I saw it implemented already.
legendary
Activity: 3108
Merit: 1359
  • Connections limit per-host implemented for some reasons
  • Automatic withdrawal feature implemented

// Preparing for:

  • "stratum" or custom protocol with the similar ideology
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I got a "target-miss" error for json-id 115, which is nonce=430fdafa, block with json-id 112 and a valid diff2 hash=f1f38404e253aef6fa1609b1d96474d8a731ff5dda808a7cdd6b184000000000.

At least this share should not lead to a target-miss error.
This hash:
Code:
f1f38404e253aef6fa1609b1d96474d8a731ff5dda808a7cdd6b184000000000
when byte swapped is:
Code:
0000000040186bdd....
versus diff 1 which is:
Code:
00000000ffffffff...

This should qualify as a diff 3 share.
full member
Activity: 158
Merit: 100
I don't know. Embarrassed I can't see "target-miss" rejects from another user's, almost all of that generated by your worker. So I need some time. Roll Eyes

I'll continue working on it few hours later.

OK.

Some further info for you. I'ed modified BTCMiner, so that only 1 FPGA is running. It starts immediately mining on your pool with the diff2 worker. Miner submitted 2 shares, one valid and one rejected (target-miss). "Request: [...]" is the direct input for the HTTPConnection and "Response: [...]" the output. Nothing between.

Code:
(Re)Scanning bus ...
0012220025: New device: bitfile=ztex_ufm1_15y1   f_default=200.00MHz  f_max=248.00MHz  HpC=1.0H
0012220025: MAC address: 0004a36e054a
0012220025: FPGA 1: configuration time: 310 ms
0012220025-1: New FPGA
0012220025-1: Set frequency to 200.00MHz
Starting mining thread for bus 001-0
0012220025-1: added
1 new devices found.

Summary:
  Bus 001-0     : 1 miners
  Total         : 1 miners


Disconnect all devices or enter `q' for exit. Enter `h' for help.

0012220025-1: Request: {"jsonrpc":"1.0","id":0,"method":"getwork","params":[]}
0012220025-1: Using LongPolling URL http://pool.itzod.ru:8080/LP
0012220025-1: Response: {"id":0,"error":null,"result":{"data":"0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000649d9a503bed2fd70405d1d43e8733c2bede47b1d50cf691e830df9fcd697254509115201a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"890825f44347e096f6992ae8783eab54e2c05cd568f91101384a80c50e8ee194","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-1: getWork new target: 0000000000000000000000000000000000000000000000000000008000000000
0012220025-1: getWork new difficulty: 2.0
Request: {"jsonrpc":"1.0","id":1,"method":"getwork","params":[]}
0012220025-1: Request: {"jsonrpc":"1.0","id":2,"method":"getwork","params":[]}
0012220025-1: Response: {"id":2,"error":null,"result":{"data":"0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe793700000394000000005e6603a1e33844d57066202c0e2912ed0d453c47b979162906b532756be3aa2f5091152a1a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"b8a2816a53829eb8c418bcf2a36e576e73fe022169b954c073bf13abb389ca50","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-1: Request: {"jsonrpc":"1.0","id":3,"method":"getwork","params":[]}
0012220025-1: Response: {"id":3,"error":null,"result":{"data":"0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000fc83ae92a6df8ef4fd5ac815f09c7a1b02805e018475281efb5dcbde1e9358dd509115341a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"5c2e57d9d10ebcb1ddae79e7c39e1ccb48178047921666cb963f4192b8d3d34a","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-1: Request: {"jsonrpc":"1.0","id":4,"method":"getwork","params":[]}
0012220025-1: Response: {"id":4,"error":null,"result":{"data":"0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe793700000394000000005c5fbdcb2e76f9a7b9910469ad0a7ccfad4928c00ce64c7b8243b84264839e265091153e1a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"d5e5ba517e4fe4b0e4eb5b52a7272d503dfb5ac1ff74acdd044c5ffe2bceb30b","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-1: Request: {"jsonrpc":"1.0","id":5,"method":"getwork","params":[]}
0012220025-1: Response: {"id":5,"error":null,"result":{"data":"0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000def16158382901b659653762071e7893e32c0dbf491ddf733c98e0ac8295e9d7509115481a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"228106468730c2349971920f9efefe72530fc7f948af2bd23fc699ee2b13ea0d","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-1: n=3ec6f110 d=0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000def16158382901b659653762071e7893e32c0dbf491ddf733c98e0ac8295e9d7509115481a0513c510f1c63e000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
0012220025-1: n=3ec6f110 t=0000000000000000000000000000000000000000000000000000008000000000
0012220025-1: n=3ec6f110 h=3a1f0d1917d58f59e308fb670d2c5d51cb2b77437f716308d90eff2700000000 -> VALID
0012220025-1: Submitting new nonce 3ec6f110
0012220025-1: Request: {"jsonrpc":"1.0","id":6,"method":"getwork","params":["0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000def16158382901b659653762071e7893e32c0dbf491ddf733c98e0ac8295e9d7509115481a0513c510f1c63e000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"]}
0012220025-1: Response: {"id":6,"error":null,"result":false}
0012220025-1: submitWork returned: {"id":6,"error":null,"result":false}
0012220025-1: Warning: Rejected block: target-miss
0012220025-1: n=6b3d4a0a d=0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000def16158382901b659653762071e7893e32c0dbf491ddf733c98e0ac8295e9d7509115481a0513c50a4a3d6b000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
0012220025-1: n=6b3d4a0a t=0000000000000000000000000000000000000000000000000000008000000000
0012220025-1: n=6b3d4a0a h=763169ca95c589f8a889057aa9dba9885b2bf54d1c7774534c843d1a00000000 -> VALID
0012220025-1: Submitting new nonce 6b3d4a0a
0012220025-1: Request: {"jsonrpc":"1.0","id":7,"method":"getwork","params":["0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000def16158382901b659653762071e7893e32c0dbf491ddf733c98e0ac8295e9d7509115481a0513c50a4a3d6b000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"]}
0012220025-1: Response: {"id":7,"error":null,"result":true}
0012220025-1: submitWork returned: {"id":7,"error":null,"result":true}
0012220025-1: Request: {"jsonrpc":"1.0","id":8,"method":"getwork","params":[]}
0012220025-1: Response: {"id":8,"error":null,"result":{"data":"0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000e017ce0d7c7ef1cca0f8559ab5d9ad3ddc657cba950ef57b788c28ac155c4c37509115571a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"5c53e89e8974bf188107aa6ebf019b2753357cc22aa611375c6b864b07bade04","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-1: getWork returned: {"id":8,"error":null,"result":{"data":"0000000250ed4ae602cb42d6a41d444b3bb3aec5145f579ceabe79370000039400000000e017ce0d7c7ef1cca0f8559ab5d9ad3ddc657cba950ef57b788c28ac155c4c37509115571a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"5c53e89e8974bf188107aa6ebf019b2753357cc22aa611375c6b864b07bade04","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-1: f=200.00MHz,  errorRate=0.00%,  maxErrorRate=0.00%,  hashRate=200.0MH/s,  submitted 2 new nonces,  luckFactor=1.44
Total hash rate: 200.0 MH/s
Total submitted hash rate: 286.2 MH/s
full member
Activity: 158
Merit: 100
See previous message.  Roll Eyes 1/2 of received shares are actually diff1, not diff2. Something wrong with miner. :-(

Hmm, maybe it's the miner, but I cannot see why. Look at this example:

Code:
0012220025-2: Request: {"jsonrpc":"1.0","id":112,"method":"getwork","params":[]}
0012220025-2: Response: {"id":112,"error":null,"result":{"data":"00000002887c38e08f0f6d9b6eeb6b6a23f031299636dc083545f1d6000004ab00000000b74c1df403160027506771c3b62dbcd8b88454b3104bb50f72d3856ab92d5d61509109581a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"987aa72fa99d6b175bac7a8bc9526d3a8d7effbef099a400d359ea840f306b4a","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-2: n=430fdafa d=00000002887c38e08f0f6d9b6eeb6b6a23f031299636dc083545f1d6000004ab00000000b74c1df403160027506771c3b62dbcd8b88454b3104bb50f72d3856ab92d5d61509109581a0513c5fada0f43000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000
0012220025-2: n=430fdafa t=0000000000000000000000000000000000000000000000000000008000000000
0012220025-2: n=430fdafa h=f1f38404e253aef6fa1609b1d96474d8a731ff5dda808a7cdd6b184000000000 -> VALID
0012220025-2: Submitting new nonce 430fdafa
0012220025-2: Request: {"jsonrpc":"1.0","id":115,"method":"getwork","params":["00000002887c38e08f0f6d9b6eeb6b6a23f031299636dc083545f1d6000004ab00000000b74c1df403160027506771c3b62dbcd8b88454b3104bb50f72d3856ab92d5d61509109581a0513c5fada0f43000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"]}
0012220025-2: Response: {"id":115,"error":null,"result":false}
0012220025-2: submitWork returned: {"id":115,"error":null,"result":false}
0012220025-2: Warning: Rejected block: target-miss

I got a "target-miss" error for json-id 115, which is nonce=430fdafa, block with json-id 112 and a valid diff2 hash=f1f38404e253aef6fa1609b1d96474d8a731ff5dda808a7cdd6b184000000000.

At least this share should not lead to a target-miss error.


I will further debug the miner, maybe I will find something...
legendary
Activity: 3108
Merit: 1359
I don't know. Embarrassed I can't see "target-miss" rejects from another user's, almost all of that generated by your worker. So I need some time. Roll Eyes

I'll continue working on it few hours later.
full member
Activity: 158
Merit: 100
See previous message.  Roll Eyes

OK, these hashes are not valid diff2 shares. I will check the logs, maybe I'll find something.


But it's still buggy from my side. Look at this example":

tcpdump:
Code:
11:53:30.498682 IP i7k.local.40661 > pool.itzod.ru.http-alt: Flags [P.], seq 1324:1710, ack 2293, win 144, length 386
E...s.@[email protected]./.....].oK.o .P.......POST / HTTP/1.1
Authorization: Basic Z3IwYmk0Ml8xOmF2eXB1enl6ZQ==
Accept-Encoding: gzip,deflate
Content-Type: application/json
Cache-Control: no-cache
User-Agent: cgminer 2.8.4
X-Mining-Extensions: longpoll midstate submitold
Pragma: no-cache
Host: pool.itzod.ru:8080
Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
Connection: keep-alive
Content-Length: 314


11:53:30.498720 IP i7k.local.40661 > pool.itzod.ru.http-alt: Flags [P.], seq 1710:2024, ack 2293, win 144, length 314
E..bs.@[email protected]./.....].p..o .P.......{"jsonrpc":"1.0","id":75,"method":"getwork","params":["00000002335ef5a44e7083eb6e49a57939745ce5ac94cffb6846e610000003e0000000007e8046e1ba0ad646f99be1253e72a82e5d320c71c77ce3256a5d687a91bba5eb509103201a0513c5e0807334000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"]}
11:53:30.588572 IP pool.itzod.ru.http-alt > i7k.local.40661: Flags [.], ack 2024, win 22, length 0
E..([email protected]./..........o .].r.P.............
11:53:30.590543 IP pool.itzod.ru.http-alt > i7k.local.40661: Flags [P.], seq 2293:2531, ack 2024, win 22, length 238
[email protected]./..........o .].r.P.......HTTP/1.1 200 ok
X-Server: pool.itzod.ru
Content-Type: application/json
X-Long-Polling: /LP
X-Roll-NTime: Y
X-Reject-Reason: target-miss
Date: Wed, 31 Oct 2012 10:53:30 GMT
Content-Length: 37

{"id":75,"error":null,"result":false}
11:53:30.590559 IP i7k.local.40661 > pool.itzod.ru.http-alt: Flags [.], ack 2531, win 156, length 0

BTCMiner dump:
Code:
0012220025-3: Request: {"jsonrpc":"1.0","id":73,"method":"getwork","params":[]}
0012220025-3: Response: {"id":73,"error":null,"result":{"data":"00000002335ef5a44e7083eb6e49a57939745ce5ac94cffb6846e610000003e0000000007e8046e1ba0ad646f99be1253e72a82e5d320c71c77ce3256a5d687a91bba5eb509103201a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"e105c5649544fbb544c4dc86cbbc280deb4ffd7e36fda1c9a393aff019488e24","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-3: getWork returned: {"id":73,"error":null,"result":{"data":"00000002335ef5a44e7083eb6e49a57939745ce5ac94cffb6846e610000003e0000000007e8046e1ba0ad646f99be1253e72a82e5d320c71c77ce3256a5d687a91bba5eb509103201a0513c500000000000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000","midstate":"e105c5649544fbb544c4dc86cbbc280deb4ffd7e36fda1c9a393aff019488e24","target":"0000000000000000000000000000000000000000000000000000008000000000","hash1":"00000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000010000"}}
0012220025-3: n=347380e0 t=0000000000000000000000000000000000000000000000000000008000000000
0012220025-3: n=347380e0 h=fda0807073da207cdac2542cf7598b2b7df4bcd75ec5d383df16d34e00000000 -> VALID
0012220025-3: Submitting new nonce 347380e0
0012220025-3: Request: {"jsonrpc":"1.0","id":75,"method":"getwork","params":["00000002335ef5a44e7083eb6e49a57939745ce5ac94cffb6846e610000003e0000000007e8046e1ba0ad646f99be1253e72a82e5d320c71c77ce3256a5d687a91bba5eb509103201a0513c5e0807334000000800000000000000000000000000000000000000000000000000000000000000000000000000000000080020000"]}
0012220025-3: Response: {"id":75,"error":null,"result":false}
0012220025-3: submitWork returned: {"id":75,"error":null,"result":false}
0012220025-3: Warning: Rejected block: target-miss

A valid diff2 nonce n=347380e0 gets a target-miss (json-id 75). The corresponding getwork json-id: 73. What could be wrong on my side???
legendary
Activity: 3108
Merit: 1359
See previous message.  Roll Eyes 1/2 of received shares are actually diff1, not diff2. Something wrong with miner. :-(
full member
Activity: 158
Merit: 100
gr0bi42
Now "target-miss" info logging is enabled on 8080 port, for debugging purposes. If you wish to continue, you can try mine on 8080 port with diff > 1. I'll analyze logs as soon as possible.

Hi,

I'm mining right now with diff2 on port 8080. At the moment I have 396 getworks, 45 accepted shares and 48 rejected shares. I will stop now. The reject reason is still target-miss.

So long...
legendary
Activity: 3108
Merit: 1359
gr0bi42
Now "target-miss" info logging is enabled on 8080 port, for debugging purposes. If you wish to continue, you can try mine on 8080 port with diff > 1. I'll analyze logs as soon as possible.

Code:
Oct 31 09:51:22 pool pushpoold[8538]: target-miss error: user=gr0bi42_1, hash=ad4f97bafa09a95ee1fb8b348c679278ad6546a0d50122ba5bbf47cc00000000, target=0000000000000000000000000000000000000000000000000000008000000000
Oct 31 09:51:23 pool pushpoold[13803]: Fetching new work
Oct 31 09:51:23 pool pushpoold[8538]: Fetching new work
Oct 31 09:51:28 pool pushpoold[13803]: Fetching new work
Oct 31 09:51:28 pool pushpoold[8538]: Fetching new work
Oct 31 09:51:29 pool pushpoold[8538]: target-miss error: user=gr0bi42_1, hash=4639407ecf3df7cf8aaf1a0534d23da2830f37bd8386b9271168759900000000, target=0000000000000000000000000000000000000000000000000000008000000000
legendary
Activity: 3108
Merit: 1359
sr. member
Activity: 458
Merit: 250
beast at work
actually, i closed all miners, made the switch on the site and started miners again.

oh... and i get this all the time

Code:
[2012-10-30 22:54:36] 4 gpu miner threads started
[2012-10-30 22:54:36] Pool 0 not providing work fast enough
[2012-10-30 22:54:36] Share below target
legendary
Activity: 3108
Merit: 1359
i set my workers on D32 and i get a lot of Share below target in CGMiner, is that ok?
If you switched difficulty when miner is running, you can get some invalid shares with "target-miss" reason. It's normally because miner performs update of work cache not in real time.

P.S. "target-miss" shares are not below target, actually. Smiley
sr. member
Activity: 458
Merit: 250
beast at work
i set my workers on D32 and i get a lot of Share below target in CGMiner, is that ok?
Pages:
Jump to: