Bitcoin Forum
November 10, 2024, 09:11:18 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 ... 371 »
  Print  
Author Topic: [1050 TH] BitMinter.com [1% PPLNS,Pays TxFees +MergedMining,Stratum,GBT,vardiff]  (Read 837096 times)
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 28, 2012, 10:30:45 PM
 #2121

GBT replaced X-Mining-Hashrate with the "target" request option (BIP 23 Basic Pool Extensions). Stratum has no equivalent (and no HTTP for headers) yet.
I didn't implement the target request option yet. I don't know if I would use it for anything but the first minute either. Letting a user with 10+ TH/s set the difficulty makes me a bit uneasy. Tongue
Well, you could always set it up to honour it within some reasonable limits (or maybe leave it unbound upward, so miners can always opt to increase their variance at will). Admittedly, I also haven't seen a need to implement "target" requests yet either.

kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
November 28, 2012, 11:55:46 PM
 #2122

If everything runs perfectly I could perhaps enable Stratum and GBT with var diff on the main pool before the weekend is over. But perhaps delay var diff on getwork a bit longer until hashpower.com supports it.

My only other concern with vardiff is that when you enabled it on the main pool, it was done per worker.

Does vardiff now work by used the x-mining-hashrate header if available?
GBT replaced X-Mining-Hashrate with the "target" request option (BIP 23 Basic Pool Extensions). Stratum has no equivalent (and no HTTP for headers) yet.
lol no HTTP - GBT uses HTTP coz (as you said) it was too hard for you to do such an enhancement Tongue

Adding an 'options' to Stratum is a minor thing - pity you can't even take the step past HTTP to see that's all it is.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
November 29, 2012, 02:13:05 AM
 #2123

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 29, 2012, 02:46:16 AM
 #2124

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley
"Isn't providing work fast enough" (even with BFGMiner) is most likely a problem with your miner, not the protocol. Con intentionally designed GBT support in cgminer to work inefficiently, but as a side-effect of this particular inefficiency, there is no excuse it should ever be starving for more work.

mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
November 29, 2012, 02:48:04 AM
 #2125

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley
"Isn't providing work fast enough" (even with BFGMiner) is most likely a problem with your miner, not the protocol. Con intentionally designed GBT support in cgminer to work inefficiently, but as a side-effect of this particular inefficiency, there is no excuse it should ever be starving for more work.

This isn't GBT, this is a LP.  And I don't recall seeing the message anywhere else.  It is starving and is sending work to backup pools.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
November 29, 2012, 03:48:50 AM
 #2126

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley
"Isn't providing work fast enough" (even with BFGMiner) is most likely a problem with your miner, not the protocol. Con intentionally designed GBT support in cgminer to work inefficiently, but as a side-effect of this particular inefficiency, there is no excuse it should ever be starving for more work.
As usual - you don't even know what you are talking about.

So ... do we assume you are just stupid enough to make that comment?

... or lying to try and attack cgminer in a way that is completely false?

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 29, 2012, 04:28:03 AM
 #2127

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley
"Isn't providing work fast enough" (even with BFGMiner) is most likely a problem with your miner, not the protocol. Con intentionally designed GBT support in cgminer to work inefficiently, but as a side-effect of this particular inefficiency, there is no excuse it should ever be starving for more work.

This isn't GBT, this is a LP.  And I don't recall seeing the message anywhere else.  It is starving and is sending work to backup pools.
Well, why aren't you using GBT? Then you'd definitely have work ready to go as soon as the LP comes in (GBT uses LP too).

DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 29, 2012, 07:19:21 AM
 #2128

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley

The "not providing work fast enough" message comes pretty quickly after long poll - may not be a big deal.

Yes, we have GBT testing on port 9000 now and Stratum testing will begin soon.

If I put GBT on main port now then users with cgminer with GBT support but earlier version than 2.9.4 will get 100% rejects. I need to add a workaround for this bug before enabling GBT on the main port, otherwise it could be pretty painful for some users.

I hope to move GBT and Stratum to main port within a week's time, if not before. Maybe before the weekend is over, if testing goes well.

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
Mobius
Hero Member
*****
Offline Offline

Activity: 988
Merit: 1000



View Profile
November 29, 2012, 08:57:04 AM
 #2129

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley

The "not providing work fast enough" message comes pretty quickly after long poll - may not be a big deal.

Yes, we have GBT testing on port 9000 now and Stratum testing will begin soon.

If I put GBT on main port now then users with cgminer with GBT support but earlier version than 2.9.4 will get 100% rejects. I need to add a workaround for this bug before enabling GBT on the main port, otherwise it could be pretty painful for some users.

I hope to move GBT and Stratum to main port within a week's time, if not before. Maybe before the weekend is over, if testing goes well.


Why not keep them on separate ports :3333 for stratum seems to be the default port chosen by pools using it.
DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 29, 2012, 10:19:52 AM
 #2130

Why not keep them on separate ports :3333 for stratum seems to be the default port chosen by pools using it.

Yeah, it will be GBT and getwork on the regular port and Stratum on a different one. But the GBT/getwork responses will have an HTTP header informing the miner where to find the Stratum port.

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
November 29, 2012, 11:12:43 AM
 #2131

All three of my miners on cgminer are complaining that bitminter isn't providing work fast enough.  Stratum is coming soon, right? Smiley

The "not providing work fast enough" message comes pretty quickly after long poll - may not be a big deal.

Yes, we have GBT testing on port 9000 now and Stratum testing will begin soon.

If I put GBT on main port now then users with cgminer with GBT support but earlier version than 2.9.4 will get 100% rejects. I need to add a workaround for this bug before enabling GBT on the main port, otherwise it could be pretty painful for some users.

I hope to move GBT and Stratum to main port within a week's time, if not before. Maybe before the weekend is over, if testing goes well.

Now that I know GBT is on 9000, I'll point my miners there.  I don't recall seeing that on the website, and I certainly didn't wade through the 100 pages of data here.

EDIT: it seems stats don't report work if you use the GBT port. Sad

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Luke-Jr
Legendary
*
Offline Offline

Activity: 2576
Merit: 1186



View Profile
November 29, 2012, 02:12:47 PM
 #2132

If I put GBT on main port now then users with cgminer with GBT support but earlier version than 2.9.4 will get 100% rejects. I need to add a workaround for this bug before enabling GBT on the main port, otherwise it could be pretty painful for some users.
Ah, that makes sense. The solution I've used in the past with older bugger miner versions is the check the User-Agent. Wink

Why not keep them on separate ports :3333 for stratum seems to be the default port chosen by pools using it.
Yeah, it will be GBT and getwork on the regular port and Stratum on a different one. But the GBT/getwork responses will have an HTTP header informing the miner where to find the Stratum port.
BFGMiner interprets the Stratum header as "prefer Stratum over the current protocol", so IMO it would be better if it were only offered to getwork requests.

DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 29, 2012, 03:21:32 PM
 #2133

Now that I know GBT is on 9000, I'll point my miners there.  I don't recall seeing that on the website, and I certainly didn't wade through the 100 pages of data here.

EDIT: it seems stats don't report work if you use the GBT port. Sad

Yeah, it's only for testing. GBT will soon be on the regular port. Port 9000 may be unstable, and hashrate on that port won't show on the website. But you do get paid, and the hashrate will show in shifts, it just won't show as current hashrate.

It's a bit of a hack. In the future I will add proper support for multiple servers and they will show properly in the stats.

BFGMiner interprets the Stratum header as "prefer Stratum over the current protocol", so IMO it would be better if it were only offered to getwork requests.

Good to know, I'll just add the header on getwork responses then.

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
hahahafr
Hero Member
*****
Offline Offline

Activity: 938
Merit: 501



View Profile
November 29, 2012, 03:41:17 PM
 #2134

Don't forget Doc https://bitcointalk.org/index.php?topic=27062.msg1218046;topicseen#msg1218046

The 5050 is fine Wink




                                           ◢◣                      ◢◣
                                     ◢████◣           ◢████◣
                               ◢████████◣◢████████◣
                               █████████████████
                               █████████████████
                               █████████████████
                               █████████████◤██████
                               ███████████◤████████
                               █████████◤██████████
                               ███████◤████████████
                               █████◤██████████████
                               █████◣                       ◢█████
                               ███████◣            ◢███████
                               █████████◣◢█████████
                               ◥████████◤◥████████◤
                                    ◥████◤            ◥████◤
                                          ◥◤                      



HYDAX
       Secure  
   Efficient
   Simple  
   Medium 
    Twitter  
    Telegram 
[/center
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
November 30, 2012, 01:09:11 AM
 #2135

Now that I know GBT is on 9000, I'll point my miners there.  I don't recall seeing that on the website, and I certainly didn't wade through the 100 pages of data here.

EDIT: it seems stats don't report work if you use the GBT port. Sad

Yeah, it's only for testing. GBT will soon be on the regular port. Port 9000 may be unstable, and hashrate on that port won't show on the website. But you do get paid, and the hashrate will show in shifts, it just won't show as current hashrate.

It's a bit of a hack. In the future I will add proper support for multiple servers and they will show properly in the stats.

I'm having sporadic conn problems here (ISP issue), so it's important that stats work for me.  That rules GBT out for the time being. Sad

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
MinorMiner
Member
**
Offline Offline

Activity: 73
Merit: 10


View Profile
November 30, 2012, 02:00:22 AM
 #2136

Don't you just 'love' how our luck got better AFTER the block reward drop ... bah

All contributions gratefully received 1G6Wia22Jnpz2DUisA5EoAC6KJ7MHm6QyP
kano
Legendary
*
Offline Offline

Activity: 4620
Merit: 1851


Linux since 1997 RedHat 4


View Profile
November 30, 2012, 04:00:38 AM
 #2137

...
BFGMiner interprets the Stratum header as "prefer Stratum over the current protocol", so IMO it would be better if it were only offered to getwork requests.

Good to know, I'll just add the header on getwork responses then.

Um - that doesn't make much sense?

From a pool and miner point of view, there is no gain in using GBT when Stratum is available.
No miner implements transaction choice - does your pool even allow it?

So until there even exists a transaction choice somewhere (anywhere!), it would make sense to request the miner to use Stratum and thus GREATLY reduce the data transferred.

If the miner wants the MASSIVE amounts of extra data with GBT they can force GBT selection from the miner easily enough.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
DrHaribo (OP)
Legendary
*
Offline Offline

Activity: 2730
Merit: 1034


Needs more jiggawatts


View Profile WWW
November 30, 2012, 08:39:29 AM
 #2138


Sure, I'll add one of those ports. What's special about them anyway?

...
BFGMiner interprets the Stratum header as "prefer Stratum over the current protocol", so IMO it would be better if it were only offered to getwork requests.

Good to know, I'll just add the header on getwork responses then.

Um - that doesn't make much sense?

Hmm. So cgminer tries GBT first, and if it sees no Stratum header it stays on GBT?

▶▶▶ bitminter.com 2011-2020 ▶▶▶ pool.xbtodigital.io 2023-
hahahafr
Hero Member
*****
Offline Offline

Activity: 938
Merit: 501



View Profile
November 30, 2012, 09:12:56 AM
 #2139


Sure, I'll add one of those ports. What's special about them anyway?

Mining behind a firewall is no joke, I did originally choose Bitminter because you were offering port 80 mining. These ports are the only ones I can reach.




                                           ◢◣                      ◢◣
                                     ◢████◣           ◢████◣
                               ◢████████◣◢████████◣
                               █████████████████
                               █████████████████
                               █████████████████
                               █████████████◤██████
                               ███████████◤████████
                               █████████◤██████████
                               ███████◤████████████
                               █████◤██████████████
                               █████◣                       ◢█████
                               ███████◣            ◢███████
                               █████████◣◢█████████
                               ◥████████◤◥████████◤
                                    ◥████◤            ◥████◤
                                          ◥◤                      



HYDAX
       Secure  
   Efficient
   Simple  
   Medium 
    Twitter  
    Telegram 
[/center
-ck
Legendary
*
Offline Offline

Activity: 4284
Merit: 1645


Ruu \o/


View Profile WWW
November 30, 2012, 10:07:08 AM
 #2140

Hmm. So cgminer tries GBT first, and if it sees no Stratum header it stays on GBT?
In order of priority, cgminer will try to mine on stratum first, gbt second and getwork if all else fails, based on what order I think mining should occur. As far as I'm concerned, it's up to the pool operator to decide what they think is most important to prioritise. If you want to put a stratum redirect header in your GBT based pool, that's entirely your choice, knowing that cgminer will then use stratum preferentially. You can see the way cgminer prioritises the different protocols based on what I think is best for miners and pools, and the rest is up to you.

Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel
2% Fee Solo mining at solo.ckpool.org
-ck
Pages: « 1 ... 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 [107] 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 ... 371 »
  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!