Bitcoin Forum
December 08, 2016, 04:25:55 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 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 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 332903 times)
ed64
Jr. Member
*
Offline Offline

Activity: 42


View Profile
August 08, 2011, 06:50:27 PM
 #3021

If BH can't get the round shares, it defaults to current difficulty, which is 1888786

There seems something wrong with DIGbtc. On BH there are 1888786 shares 100.00%,.. on their site it's "Round Shares: 1133369".

Send your BTC to a loving home: 1CWjg4soWEAQjMD4dCchdPpJ6fWDBRUU5b
Github: https://github.com/echiu64/
1481171155
Hero Member
*
Offline Offline

Posts: 1481171155

View Profile Personal Message (Offline)

Ignore
1481171155
Reply with quote  #2

1481171155
Report to moderator
1481171155
Hero Member
*
Offline Offline

Posts: 1481171155

View Profile Personal Message (Offline)

Ignore
1481171155
Reply with quote  #2

1481171155
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481171155
Hero Member
*
Offline Offline

Posts: 1481171155

View Profile Personal Message (Offline)

Ignore
1481171155
Reply with quote  #2

1481171155
Report to moderator
1481171155
Hero Member
*
Offline Offline

Posts: 1481171155

View Profile Personal Message (Offline)

Ignore
1481171155
Reply with quote  #2

1481171155
Report to moderator
1481171155
Hero Member
*
Offline Offline

Posts: 1481171155

View Profile Personal Message (Offline)

Ignore
1481171155
Reply with quote  #2

1481171155
Report to moderator
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 08, 2011, 07:01:35 PM
 #3022

There seems something wrong with DIGbtc. On BH there are 1888786 shares 100.00%,.. on their site it's "Round Shares: 1133369".

Yup, saw it too.
Can't understand why, pool.cfg seems to be right, nothing changed...
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 08, 2011, 07:06:19 PM
 #3023

Quote
Can't understand why, pool.cfg seems to be right, nothing changed...

then it is on digbits end.. pretty sure they are having connection issues is all... that 100% number 1888786, is what BH defaults to when it cant get an API answer.

Quote
I have just a slight diff between shares in BH and shares on Polmine site. But they are discussing delaying stats. But i think not yet in place.



Go to polmine.. click on user stats.. look at the predicted block and how many shares it has and tell me their isnt a slight difference..

No I am not talking about the share count on "pool stats" page.. which is only slightly different than what BH reports.

Nope look at USER stats. It will say on predicted block you have
Code:
prediction ( 938/ 403674) * 50.13200000

that is way way way way different than what it says on pool stats which is


Code:
Valid round shares / total:   1 108 490


so is the right answer for total shares on the current block 403674 or 1108490?

get what we are asking now?

mooo for rent
ed64
Jr. Member
*
Offline Offline

Activity: 42


View Profile
August 08, 2011, 07:19:55 PM
 #3024

Try updating your user agent, looks like digbtc is messing around a little

Oddly a user agent like 'curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18' works fine as well. wth...

Code:
diff --git a/work.py b/work.py
index bcac801..836ef1d 100644
--- a/work.py
+++ b/work.py
@@ -73,7 +73,7 @@ def jsonrpc_lpcall(agent,server, url, lp):
 
 @defer.inlineCallbacks
 def get(agent,url):
-    d = agent.request('GET', url, Headers({'User-Agent':['Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.107 Safari/535.1']}),None)
+    d = agent.request('GET', url, Headers({'User-Agent':['Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.109 Safari/535.1']}),None)
     response = yield d
     finish = Deferred()
     response.deliverBody(WorkProtocol(finish))

Send your BTC to a loving home: 1CWjg4soWEAQjMD4dCchdPpJ6fWDBRUU5b
Github: https://github.com/echiu64/
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 08, 2011, 07:26:11 PM
 #3025

Try updating your user agent, looks like digbtc is messing around a little

Oddly a user agent like 'curl/7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.0 OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.18' works fine as well. wth...

Code:
diff --git a/work.py b/work.py
index bcac801..836ef1d 100644
--- a/work.py
+++ b/work.py
@@ -73,7 +73,7 @@ def jsonrpc_lpcall(agent,server, url, lp):
 
 @defer.inlineCallbacks
 def get(agent,url):
-    d = agent.request('GET', url, Headers({'User-Agent':['Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.107 Safari/535.1']}),None)
+    d = agent.request('GET', url, Headers({'User-Agent':['Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/13.0.782.109 Safari/535.1']}),None)
     response = yield d
     finish = Deferred()
     response.deliverBody(WorkProtocol(finish))


That works... What did I just do? Tongue
ed64
Jr. Member
*
Offline Offline

Activity: 42


View Profile
August 08, 2011, 07:28:57 PM
 #3026

Ya, that's the messed up part, just went from Chrome/13.0.782.107 to Chrome/13.0.782.109

So they must be doing something whacky, because a user agent like "curl" will work, but the Chrome/13.0.782.107 won't. Seems pretty unreliable whatever is that is happening....

Maybe an IE user agent string is better, those don't change as often and would impact more users should they choose to do anything based on user agent

Send your BTC to a loving home: 1CWjg4soWEAQjMD4dCchdPpJ6fWDBRUU5b
Github: https://github.com/echiu64/
error
Hero Member
*****
Offline Offline

Activity: 574



View Profile
August 08, 2011, 07:29:52 PM
 #3027

Ya, that's the messed up part, just went from Chrome/13.0.782.107 to Chrome/13.0.782.109

So they must be doing something whacky, because a user agent like "curl" will work, but the Chrome/13.0.782.107 won't. Seems pretty unreliable whatever is that is happening....

Maybe an IE user agent string is better, those don't change as often and would impact more users should they choose to do anything based on user agent

I'd rather select my own so that I can just make it match my usual web browser. Smiley

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
user7516
Jr. Member
*
Offline Offline

Activity: 41


View Profile
August 08, 2011, 07:32:22 PM
 #3028

About russian pools:
itzod - score based
kiwipool - switch to pps in next round
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 08, 2011, 07:34:43 PM
 #3029

yeah that worked on the digbit.

sucks on the russian sites... maybe they will miss us like digbit did. digbit probably would still be looking for that first block without hoppers.


perfect time to put them both to info...(to help find deepbit blocks you dont want them disabled)



mooo for rent
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 08, 2011, 07:39:45 PM
 #3030

There seems to be an error with the ars api as well if I'm reading that right?

I'm currently getting api errors for:

ars
btcpool24
digbtc
btunion
polmine
owowo
Jr. Member
*
Offline Offline

Activity: 43


View Profile
August 08, 2011, 07:41:00 PM
 #3031

Well I get it now with polmine... it goes now to the "evilpools-list" in my book... disabled!
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
August 08, 2011, 07:42:35 PM
 #3032

Here's a tip that I found out the hard way. Do not set penalty to 0 for any pool or after about 10 min bitHopper will slowly die and lag out. It makes a real mess.

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 08, 2011, 07:44:17 PM
 #3033

btcpool24 and btunion are normal digbit we just fixed above.. ars is down too but they have no reason to screw with hoppers as they are PPS.. so they are PROBABLY network issues.. or changed the site.

btunion is doing upgrades today.. and we will have problems with them all day.


BTCpool24.. is a site to be wary of.. not sure what is going on there.. but it is odd. They could just be noobs and having noob issues.. but api errors are common.. reporting they found blocks when they havent.. seems common.. I mined some pps and some prop and leaving the site on info until i get paid.



quick question.. has anyone sent a single share to deepbit prop yet.. using the new c00w?

mooo for rent
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 08, 2011, 07:45:37 PM
 #3034

btcpool24 and btunion are normal digbit we just fixed above..


How do I apply that fix without it being committed? Smiley  Sorry, bit new to all this python stuff Cheesy
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
August 08, 2011, 07:48:37 PM
 #3035

Well I get it now with polmine... it goes now to the "evilpools-list" in my book... disabled!

don't make rush decisions, their site is down or lags bitgtime, just checked

edit: @simonk83 you open the *.py file in question with you favorite text editor (notepad will give you headaches) then search for the string you have to remove and replace with the new one, save file and restart bH Tongue

BTCitcoin: An Idea Worth Saving - Q&A with bitcoins on rugatu.com - Check my rep
bb
Member
**
Offline Offline

Activity: 84


View Profile
August 08, 2011, 07:57:59 PM
 #3036

Well I get it now with polmine... it goes now to the "evilpools-list" in my book... disabled!

don't make rush decisions, their site is down or lags bitgtime, just checked

Same here.
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 08, 2011, 08:05:40 PM
 #3037

I have polmine on info until i work it out.. i will watch both numbers and see which is a lie when a block is found

yeah simon dont use notepad.. get notepad plus or notepad2 or textpad or something else.

open work.py


search for @defer.inlineCallbacks

make the changes shown in his ed64's comment

the  minus is something to cut

the plus is something to add.

basically replace the user agent with the new one

mooo for rent
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 08, 2011, 08:05:55 PM
 #3038

Well I get it now with polmine... it goes now to the "evilpools-list" in my book... disabled!

don't make rush decisions, their site is down or lags bitgtime, just checked

edit: @simonk83 you open the *.py file in question with you favorite text editor (notepad will give you headaches) then search for the string you have to remove and replace with the new one, save file and restart bH Tongue

Right, haha, that's what I did Cheesy  Just wasn't sure if there was a fancy way of patching it Cheesy

EDIT: Thanks joules as well.
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 08, 2011, 08:07:12 PM
 #3039

Well patch is the actual program to do the patching. I don't know if its on windows however.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
bb
Member
**
Offline Offline

Activity: 84


View Profile
August 08, 2011, 08:07:51 PM
 #3040

Btw, c00w, index file names are broken again. But since I seem to be the only person in the world (!) Smiley actually needing this, I will fix it tomorrow.

c00w: Did you fix this yourself already?
Pages: « 1 ... 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 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 ... 205 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!