Bitcoin Forum
March 19, 2024, 03:09:24 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: « 1 ... 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 [186] 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 »
  Print  
Author Topic: [1200 TH] EMC: 0 Fee DGM. Anonymous PPS. US & EU servers. No Registration!  (Read 499428 times)
-ck
Legendary
*
Offline Offline

Activity: 4046
Merit: 1622


Ruu \o/


View Profile WWW
November 06, 2012, 02:47:39 AM
 #3701

Con, I have some changes pushed to all servers that should help with the problem you list.  Can you check if that solves the problem?

One question, though, it appears you are polling for a new block template every 30 seconds is that intended?

Great. Will check.

Yes it is intentional, to keep transactions current, much like stratum does. It's also a reliable way to know you can still receive stuff from the pool to know when it's down.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
1710817764
Hero Member
*
Offline Offline

Posts: 1710817764

View Profile Personal Message (Offline)

Ignore
1710817764
Reply with quote  #2

1710817764
Report to moderator
1710817764
Hero Member
*
Offline Offline

Posts: 1710817764

View Profile Personal Message (Offline)

Ignore
1710817764
Reply with quote  #2

1710817764
Report to moderator
Be very wary of relying on JavaScript for security on crypto sites. The site can change the JavaScript at any time unless you take unusual precautions, and browsers are not generally known for their airtight security.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710817764
Hero Member
*
Offline Offline

Posts: 1710817764

View Profile Personal Message (Offline)

Ignore
1710817764
Reply with quote  #2

1710817764
Report to moderator
1710817764
Hero Member
*
Offline Offline

Posts: 1710817764

View Profile Personal Message (Offline)

Ignore
1710817764
Reply with quote  #2

1710817764
Report to moderator
-ck
Legendary
*
Offline Offline

Activity: 4046
Merit: 1622


Ruu \o/


View Profile WWW
November 06, 2012, 03:47:53 AM
 #3702

Here we go. Same test case:

Code:
[2012-11-06 14:46:08] Accepted e40fc282 Diff 1/1 GPU 1 pool 2
 [2012-11-06 14:46:09] Stratum from pool 3 detected new block
 [2012-11-06 14:46:10] Stale share detected, submitting as user requested
 [2012-11-06 14:46:10] Accepted 1ec336f1 Diff 8/1 GPU 0 pool 2
 [2012-11-06 14:46:10] Accepted 7feedf4b Diff 2/1 GPU 2 pool 2
 [2012-11-06 14:46:12] Accepted b4d46b3d Diff 1/1 GPU 0 pool 2
 [2012-11-06 14:46:12] Accepted 1cae983c Diff 8/1 GPU 0 pool 2
 [2012-11-06 14:46:12] Accepted e9e286b4 Diff 1/1 GPU 3 pool 2
 [2012-11-06 14:46:13] Accepted 41e88213 Diff 3/1 GPU 1 pool 2
 [2012-11-06 14:46:14] Accepted 85495569 Diff 1/1 GPU 0 pool 2
 [2012-11-06 14:46:15] GBT LONGPOLL from pool 2 requested work restart
 [2012-11-06 14:46:15] Rejected 83a701d9 Diff 1/1 GPU 2 pool 2 (stale-prevblk)
 [2012-11-06 14:46:18] Accepted f7216fee Diff 1/1 GPU 1 pool 2
 [2012-11-06 14:46:18] Accepted 01486fe5 Diff 199/1 GPU 3 pool 2
 [2012-11-06 14:46:19] Accepted 8447cf5a Diff 1/1 GPU 0 pool 2
 [2012-11-06 14:46:20] Accepted 398c9fd9 Diff 4/1 GPU 1 pool 2
 [2012-11-06 14:46:21] GBT LONGPOLL from pool 2 requested work restart
 [2012-11-06 14:46:25] Accepted 93a5f6e9 Diff 1/1 GPU 1 pool 2

Stratum is seeing the block change faster routinely up to 10 seconds faster, but at least you're not rejecting shares now before your own longpoll.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 06, 2012, 03:56:44 AM
 #3703

Do you still see the same behavior on say US3 vs US1?

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
-ck
Legendary
*
Offline Offline

Activity: 4046
Merit: 1622


Ruu \o/


View Profile WWW
November 06, 2012, 04:11:46 AM
Last edit: November 06, 2012, 04:24:43 AM by ckolivas
 #3704

Do you still see the same behavior on say US3 vs US1?
Testing...

Much the same. pool 2  is us3 in this example.

Code:
[2012-11-06 15:10:28] Accepted 546c28db Diff 3/1 GPU 1 pool 2
 [2012-11-06 15:10:33] Stratum from pool 3 detected new block
 [2012-11-06 15:10:36] Accepted 3bbe84f0 Diff 4/1 GPU 0 pool 2
 [2012-11-06 15:10:37] Accepted a017ef1d Diff 1/1 GPU 2 pool 2
 [2012-11-06 15:10:37] Accepted c1b972f0 Diff 1/1 GPU 1 pool 2
 [2012-11-06 15:10:38] Accepted aaaeaba9 Diff 1/1 GPU 0 pool 2
 [2012-11-06 15:10:41] GBT LONGPOLL from pool 2 requested work restart
 [2012-11-06 15:10:42] Rejected a9542179 Diff 1/1 GPU 1 pool 2 (stale-prevblk)
 [2012-11-06 15:10:44] Accepted 5ca1ab35 Diff 2/1 GPU 2 pool 2
 [2012-11-06 15:10:44] Accepted 21e2296e Diff 7/1 GPU 2 pool 2
 [2012-11-06 15:10:45] Accepted 20cdce48 Diff 7/1 GPU 3 pool 2
 [2012-11-06 15:10:46] Accepted 86978852 Diff 1/1 GPU 3 pool 2
 [2012-11-06 15:10:48] Accepted 022acdbb Diff 118/1 GPU 1 pool 2
 [2012-11-06 15:10:49] Accepted c4a25647 Diff 1/1 GPU 3 pool 2
 [2012-11-06 15:10:51] Accepted 659a84b6 Diff 2/1 GPU 1 pool 2
 [2012-11-06 15:10:51] Accepted ad389866 Diff 1/1 GPU 2 pool 2
 [2012-11-06 15:10:54] GBT LONGPOLL from pool 2 requested work restart
 [2012-11-06 15:10:54] Stale share detected, submitting as user requested
 [2012-11-06 15:10:54] Accepted aad92828 Diff 1/1 GPU 2 pool 2

EDIT: Note this is not unique. Other pools struggle trying to notify of blocks as fast as slush does too, over and above the stratum vs GBT difference. No idea what his magic is.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 06, 2012, 04:28:41 AM
 #3705

I took all my high performance connections out of bitcoind because it was crashing it.  I think he may be connected to a few supernodes... I need to find a few stable nodes and connect directly to them.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 13, 2012, 04:20:01 AM
Last edit: November 13, 2012, 04:54:12 AM by Inaba
 #3706

EMC should now support Stratum on all servers.  You can connect to port 3333 for Stratum.

Give it a shot and let me know how it works... but it is working great in my testing.  CGminer had some issues and I've sent in a pull request, hopefully Con will accept and merge it in the main branch soon.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
November 13, 2012, 04:50:13 AM
Last edit: November 13, 2012, 05:35:53 AM by Mobius
 #3707

EMC should now support Stratum on all servers.  You can connect to port 3334 for Stratum.

Give it a shot and let me know how it works... but it is working great in my testing.  CGminer had some issues and I've sent in a pull request, hopefully Con will accept and merge it in the main branch soon.


Why not keep it as 3333, as other pools are doing, and it seems that cgminer is working well with the other pools using stratum.
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 13, 2012, 04:54:27 AM
 #3708

I was using 3334 for testing. I  switched them all over to 3333, so that should work.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
-ck
Legendary
*
Offline Offline

Activity: 4046
Merit: 1622


Ruu \o/


View Profile WWW
November 13, 2012, 06:23:46 AM
Last edit: November 13, 2012, 09:19:42 AM by ckolivas
 #3709

Tried your stratum implementation. It seems that you send a mining difficulty in response to the mining authorise request while cgminer is only expecting an auth message at that stage so it will fail to connect.

EDIT: Also, expecting "auth" as an "id" is wrong since id is an integer for json in stratum. This appears to be a hangover of luke-jr making fucking bullshit up.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 13, 2012, 05:32:29 PM
 #3710

With regard to ID being an int, I was going by JSON-RPC 1.0 specifications, is there an updated one somewhere?  The 1.0 (and 2.0) specs say ID is of any type, but maybe I'm looking in the wrong place? (I used this doc: http://json-rpc.org/wiki/specification)

For difficulty, it's being sent following mining.subscribe as per the spec, yeah?  Do you have a link to the documentation on how that should be handled if EMC isn't doing it right?  mining.subscribe comes before the auth, so difficulty would naturally follow prior to auth, no?  Since minining.authorize can happen any time in the session, difficulty should come before that (for example, if you decide to add workers in the middle of a session).




If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
November 13, 2012, 06:53:29 PM
 #3711

Hmm.. it just worked for a few moments, and now it's back to non-working again.

Head of Product Development
Bitfury Group
www.bitfury.com
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 13, 2012, 06:56:03 PM
 #3712

What did?

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
November 13, 2012, 07:00:51 PM
 #3713

./mining_proxy.py -o 208.110.68.114 -p 3333 -v

Head of Product Development
Bitfury Group
www.bitfury.com
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 13, 2012, 07:02:12 PM
 #3714

Do you still need to use the proxy with up to date version of cgminer?  You should be able to put stratum+tcp:// as your protocol in the pool options.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
November 13, 2012, 07:03:08 PM
 #3715

I need to use the proxy, cgminer doesn't support my miner. And neither does BFGMiner

Head of Product Development
Bitfury Group
www.bitfury.com
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 13, 2012, 07:15:34 PM
 #3716

Ah... makes sense.  What are you using? 

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
November 13, 2012, 07:21:55 PM
 #3717

Ah... makes sense.  What are you using? 
I'm using the solo mining software my FPGA cluster came with, and I'm pointing it to Stratum Proxy.

Here's what happens when I try to connect to EMC compared to Slush's pool:

EMC:
root@5-1:~/stratum-mining-proxy# ./mining_proxy.py -o 208.110.68.114 -p 3333 -v
2012-11-13 19:18:58,067 INFO proxy jobs.<module> # C extension for midstate not available. Using default implementation instead.
2012-11-13 19:18:58,069 INFO proxy mining_proxy.main # Stratum proxy version: 1.1.1
2012-11-13 19:18:58,070 INFO proxy mining_proxy.main # Trying to connect to Stratum pool at 208.110.68.114:3333
2012-11-13 19:18:58,278 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2012-11-13 19:18:58,278 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at 208.110.68.114:3333
2012-11-13 19:18:58,279 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2012-11-13 19:18:58,502 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at 208.110.68.114:3333
2012-11-13 19:18:58,502 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
^C2012-11-13 19:19:00,793 INFO proxy mining_proxy.on_shutdown # Shutting down proxy...

Slush:
root@5-1:~/stratum-mining-proxy# ./mining_proxy.py -v
2012-11-13 19:19:07,355 INFO proxy jobs.<module> # C extension for midstate not available. Using default implementation instead.
2012-11-13 19:19:07,357 INFO proxy mining_proxy.main # Stratum proxy version: 1.1.1
2012-11-13 19:19:07,357 INFO proxy mining_proxy.main # Trying to connect to Stratum pool at api-stratum.bitcoin.cz:3333
2012-11-13 19:19:07,487 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2012-11-13 19:19:07,487 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at api-stratum.bitcoin.cz:3333
2012-11-13 19:19:07,488 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2012-11-13 19:19:07,594 INFO proxy mining_proxy.main # -----------------------------------------------------------------------
2012-11-13 19:19:07,594 INFO proxy mining_proxy.main # PROXY IS LISTENING ON ALL IPs ON PORT 3333 (stratum) AND 8332 (getwork)
2012-11-13 19:19:07,595 INFO proxy mining_proxy.main # -----------------------------------------------------------------------
2012-11-13 19:19:07,598 INFO proxy client_service.handle_event # New job 1117e for prevhash dcf34271, clean_jobs=True

Head of Product Development
Bitfury Group
www.bitfury.com
Inaba (OP)
Legendary
*
Offline Offline

Activity: 1260
Merit: 1000



View Profile WWW
November 13, 2012, 07:55:20 PM
 #3718

I'm not familiar with the proxy... looking into it now.

If you're searching these lines for a point, you've probably missed it.  There was never anything there in the first place.
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
November 13, 2012, 09:23:06 PM
 #3719

Strangely enough, it works on us2.eclipsemc.com:

root@5-1:~/stratum-mining-proxy# ./mining_proxy.py -o 69.195.155.226 -p 3333 -rt -v
2012-11-13 21:22:07,199 INFO proxy jobs.<module> # C extension for midstate not available. Using default implementation instead.
2012-11-13 21:22:07,201 INFO proxy mining_proxy.main # Stratum proxy version: 1.1.1
2012-11-13 21:22:07,201 INFO proxy mining_proxy.main # Trying to connect to Stratum pool at 69.195.155.226:3333
2012-11-13 21:22:07,410 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2012-11-13 21:22:07,410 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at 69.195.155.226:3333
2012-11-13 21:22:07,410 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2012-11-13 21:22:07,590 INFO proxy mining_proxy.main # -----------------------------------------------------------------------
2012-11-13 21:22:07,591 INFO proxy mining_proxy.main # PROXY IS LISTENING ON ALL IPs ON PORT 3333 (stratum) AND 8332 (getwork)
2012-11-13 21:22:07,591 INFO proxy mining_proxy.main # -----------------------------------------------------------------------
2012-11-13 21:22:07,766 INFO proxy client_service.handle_event # Setting new difficulty: 0.999984741211
2012-11-13 21:22:07,767 INFO proxy client_service.handle_event # New job 1352841638 671 for prevhash 3a4de09d, clean_jobs=False

Head of Product Development
Bitfury Group
www.bitfury.com
punin
Hero Member
*****
Offline Offline

Activity: 560
Merit: 500


View Profile WWW
November 13, 2012, 10:06:16 PM
 #3720

Running nicely now! Don't touch it!! Smiley

Head of Product Development
Bitfury Group
www.bitfury.com
Pages: « 1 ... 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 [186] 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!