Bitcoin Forum
April 19, 2024, 11:19:51 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 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 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355546 times)
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 08, 2011, 05:39:14 PM
 #3001

Quote
damn sure, it gets stuck right after pressing enter


that means it is working.. you didnt tell me you wanted output to both file AND screen.
Code:
try bithopper.py --debug | tee >debuglog

thanks man, will try this way, and I didn't realize it's too different outputting to file or both, every day I learn something  Kiss

edit: launched it with
Code:
| tee > debuglog
and it selects the backup server (one line of output) after that it freezes

edit2: it freezes only in console, file is ok

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

Posts: 1713568791

View Profile Personal Message (Offline)

Ignore
1713568791
Reply with quote  #2

1713568791
Report to moderator
1713568791
Hero Member
*
Offline Offline

Posts: 1713568791

View Profile Personal Message (Offline)

Ignore
1713568791
Reply with quote  #2

1713568791
Report to moderator
1713568791
Hero Member
*
Offline Offline

Posts: 1713568791

View Profile Personal Message (Offline)

Ignore
1713568791
Reply with quote  #2

1713568791
Report to moderator
The Bitcoin software, network, and concept is called "Bitcoin" with a capitalized "B". Bitcoin currency units are called "bitcoins" with a lowercase "b" -- this is often abbreviated BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713568791
Hero Member
*
Offline Offline

Posts: 1713568791

View Profile Personal Message (Offline)

Ignore
1713568791
Reply with quote  #2

1713568791
Report to moderator
1713568791
Hero Member
*
Offline Offline

Posts: 1713568791

View Profile Personal Message (Offline)

Ignore
1713568791
Reply with quote  #2

1713568791
Report to moderator
1713568791
Hero Member
*
Offline Offline

Posts: 1713568791

View Profile Personal Message (Offline)

Ignore
1713568791
Reply with quote  #2

1713568791
Report to moderator
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 08, 2011, 05:40:35 PM
 #3002

The error seems to have completely disabled my server, need to initiate a remote forced reboot Sad

whhoaa, you got balls being on the edge in remote kudos to you

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

Activity: 476
Merit: 250


moOo


View Profile
August 08, 2011, 05:45:02 PM
 #3003

Are Polmine stats screwy for anyone else? User page is showing 348,994 this round, pool stats page is showing 949,000.

fine here.. or what do you mean?

bithopper is reporting 975033 which is the same on the polmine server stats page.
Quote
thanks man, will try this way, and I didn't realize it's too different outputting to file or both, every day I learn something
 


hey me too.

for windows I am using


Code:
bitHopper.py  --scheduler AltSliceScheduler --startLP --debug > debugc00w.txt  2>debugc00werr.txt >con

first part gets main output and logs to file.. which is getting big quick.. second part 2> gets standard errors.. but misses a lot.. and the >con displays on console.. sans what goes into debugc00werr.txt.. to add that which doesnt seem like it catches a lot.. i need to add a 2>&1 at the very end of my code.

testings gnagets fix.. right now

ed64 will be glad to test your fork.. let me know

mooo for rent
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 08, 2011, 05:49:23 PM
 #3004

lp error?
I think I fixed it.
Website loading error?
I think I fixed it.
Too many sockets error?
Not sure where it is coming from. But i Have a sneaking suspicion what I added to client.py is causing it.

EDIT: So if you are on the bleeding edge: UPDATE!

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
owowo
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
August 08, 2011, 05:50:26 PM
Last edit: August 08, 2011, 06:26:52 PM by owowo
 #3005

Polmine is lagging out for me too.

and bitHopper is freking out with
Code:
[19:45:46] Error in pool api for slush
[19:45:46] Error in pool api for slush
[19:45:46] Error in pool api for slush
[19:45:46] Error in pool api for slush
.....a lot more of that here

but good thing is the stales are less. I'm using the latest version I DL an hour ago.

EDIT: i just (19:56 GMT+1) DL the one with updated "lp.py", I'll run it now with --debug.

EDIT2:(20:26 GMT+1) no major errs seen. seems ok.
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
August 08, 2011, 05:52:42 PM
 #3006

Can you give me an error log with --debug?

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
dribbits
Newbie
*
Offline Offline

Activity: 20
Merit: 0


View Profile
August 08, 2011, 05:57:48 PM
 #3007

Are Polmine stats screwy for anyone else? User page is showing 348,994 this round, pool stats page is showing 949,000.

fine here.. or what do you mean?

bithopper is reporting 975033 which is the same on the polmine server stats page.


But look at your user stats for the current round, mine is showing ( 566 / 394763), yet bithopper/pool stats shows 988,000.
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 08, 2011, 06:00:53 PM
 #3008

when you say you downloaded the latest version.. it is probably better to paste in the actual file version.

c00w small error still on newest version, c00w-bitHopper-v0.1.3-35-g65b3a40.. dont think it matters much but am sharing.

Code:
011-08-08 13:55:31-0400 [-] 'Running Delager'
011-08-08 13:55:31-0400 [-] 'Caught, jsonrpc_call insides'
011-08-08 13:55:31-0400 [-] Unhandled Error
       Traceback (most recent call last):
       Failure: exceptions.KeyError: 'user'

011-08-08 13:55:32-0400 [HTTP11ClientProtocol,client] bithasher: 1175027

c00w I posted some debug logs for you on that error.

that was in version c00w-bitHopper-v0.1.3-19-g52db110


mooo for rent
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 08, 2011, 06:05:08 PM
 #3009

Are Polmine stats screwy for anyone else? User page is showing 348,994 this round, pool stats page is showing 949,000.

fine here.. or what do you mean?

bithopper is reporting 975033 which is the same on the polmine server stats page.


But look at your user stats for the current round, mine is showing ( 566 / 394763), yet bithopper/pool stats shows 988,000.

OK i see it now.. you are right.

SO is polmine lying to us now? they were a great site to have


Hmm looking at their forums they might be lying.. good catch
Quote
The second important thing to do is to secure the mine against jumpers, just delay struck about a block of 30-60 minutes to pool hoppers have lost interest in the pool (and it is also enough to get the 4 receipts for payment).


we should probably grab that user stats number

mooo for rent
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 08, 2011, 06:10:18 PM
 #3010

Quote
damn sure, it gets stuck right after pressing enter


that means it is working.. you didnt tell me you wanted output to both file AND screen.
Code:
try bithopper.py --debug | tee >debuglog

thanks man, will try this way, and I didn't realize it's too different outputting to file or both, every day I learn something  Kiss

edit: launched it with
Code:
| tee > debuglog
and it selects the backup server (one line of output) after that it freezes

edit2: it freezes only in console, file is ok

just managed to hack it like I want

Code:
python bitHopper.py --startLP --debug &> output

I open another console, change dirs, and put

Code:
tail -f output

to see it realtime

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

Activity: 196
Merit: 100


View Profile
August 08, 2011, 06:14:09 PM
 #3011

Any one else having problems with digbtc api?

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 08, 2011, 06:15:43 PM
Last edit: August 08, 2011, 06:29:05 PM by paraipanakos
 #3012

Any one else having problems with digbtc api?

yes, it doesn't update here too  (edit: either)

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

Activity: 476
Merit: 250


moOo


View Profile
August 08, 2011, 06:19:16 PM
 #3013

Quote
damn sure, it gets stuck right after pressing enter


that means it is working.. you didnt tell me you wanted output to both file AND screen.
Code:
try bithopper.py --debug | tee >debuglog

thanks man, will try this way, and I didn't realize it's too different outputting to file or both, every day I learn something  Kiss

edit: launched it with
Code:
| tee > debuglog
and it selects the backup server (one line of output) after that it freezes

edit2: it freezes only in console, file is ok

just managed to hack it like I want

Code:
python bitHopper.py --startLP --debug &> output

I open another console, change dirs, and put

Code:
tail -f output

to see it realtime



cool.. what works.. works.


yeah digbtc is having problems today... everyone get a PM from them? begging us to mine?

perhaps we need to info some of these small pools that with a dual prop/pps system.. makes it easier to come back for the long blocks.

and people good at regex
how do i grab the second number.. the first number not always there

Code:
<td>prediction</td><td> (308/ 443984)

something like
Code:
<td>prediction</td><td> ( */ ([0-9]+)
maybe?Huh

mooo for rent
owowo
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
August 08, 2011, 06:30:03 PM
 #3014

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.
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
August 08, 2011, 06:44:20 PM
 #3015

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.

it's been delayed for a while but not too much

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

Activity: 43
Merit: 0


View Profile
August 08, 2011, 06:47:34 PM
 #3016

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

Activity: 42
Merit: 0


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

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".
MaGNeT
Legendary
*
Offline Offline

Activity: 1526
Merit: 1002


Waves | 3PHMaGNeTJfqFfD4xuctgKdoxLX188QM8na


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

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
Merit: 250


moOo


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

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
Newbie
*
Offline Offline

Activity: 42
Merit: 0


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

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))
Pages: « 1 ... 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 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 ... 205 »
  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!