Bitcoin Forum
December 10, 2016, 01:35:49 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 ... 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 158 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 333097 times)
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 03, 2011, 04:42:31 AM
 #2141

Quote
Could it be pool related?  (I'm on bloody's)

EDIT2:  OK, bloody's just went red, so perhaps it is.

I guess it could be... i just remember a lot of people in the phatk thread having the exact same idle problem..
i'm not.. I'm also on bloody.. but it might still be.



Righto.   I've been mining solely at Eclipse for a couple of weeks using Phatk though and never run into this problem.   It's just started since using bithopper.
1481333749
Hero Member
*
Offline Offline

Posts: 1481333749

View Profile Personal Message (Offline)

Ignore
1481333749
Reply with quote  #2

1481333749
Report to moderator
1481333749
Hero Member
*
Offline Offline

Posts: 1481333749

View Profile Personal Message (Offline)

Ignore
1481333749
Reply with quote  #2

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

Activity: 196


View Profile
August 03, 2011, 04:44:15 AM
 #2142

@beef
Those api errors should be fixed. I messed up my scheduler.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 04:45:13 AM
 #2143

Mining under my credentials 1% of the time?
Yeah that would be pretty easy to set up.

The issue is that I'm on a bad internet connection so my test machine is hard to access and hard to monitor. So feedback is crucial. Any error messages when bitHopper is flatlining?

Did you happen to see the error I got on page 109?

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 04:46:47 AM
 #2144

I get the exact same error when I close the program with ctrl + c. I should write in a check. Did you get that error without closing the program?

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 03, 2011, 04:53:12 AM
 #2145

Code:
[00:52:28] polmine: 1989383
[00:52:28] {'arsbitcoin': -1, 'btcserv': -1, 'btcmp': -1, 'polmine': -1, 'slush'
: 1.7980000972747803, 'btcmonkey': -1, 'mtred': -1, 'bclc': -1, 'bloodys': -1, '
rfc': -1, 'nofeemining': -1, 'triple': -1, 'btcpool24': -1, 'ozco': -1, 'bmunion
': -1, 'bitclockers': -1, 'bitp': -1}
[00:52:37] RPC request [getwork] submitted to bitcoin.cz

api errors gone.. guess all that is slicing?

mooo for rent
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 04:55:22 AM
 #2146

I get the exact same error when I close the program with ctrl + c. I should write in a check. Did you get that error without closing the program?

Yes I did. All errors I've gotten are when bitHopper is running for about 3 - 4 min. I also got another error that looked to have database column and row data in it so I deleted the database file and still got the same error. I then tried to restart and try again and after about 3 min I got that error on page 109. I wasn't able to capture the first error thought because xorg froze on me. I just got home so I'm going to try and delete everything and start fresh. I'll post on how I make out with it all when I'm done.

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 03, 2011, 05:03:40 AM
 #2147

Soooooo, does anyone have an invite to HoppersDen? Smiley
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 03, 2011, 05:10:52 AM
 #2148

pm me an email, so i can send you an invite

mooo for rent
licutis
Jr. Member
*
Offline Offline

Activity: 31


View Profile
August 03, 2011, 05:14:29 AM
 #2149

.

17JzeLUxFti9DXEVXUywP5XGngYm2TV38b
simonk83
Hero Member
*****
Offline Offline

Activity: 896


View Profile
August 03, 2011, 05:20:15 AM
 #2150

pm me an email, so i can send you an invite

Thanks Smiley
Tmoney
Jr. Member
*
Offline Offline

Activity: 40


View Profile
August 03, 2011, 05:45:29 AM
 #2151

But, since I couldn't help you with that, re-add bitcoinpool.com

Here's why:
After looking at my account settings I realized that if you donate 1% or more to the pool they will not implement any anti-hopping measures on your account.  I think that's a good system and we should look into making similar arrangements with other pools.  I'd be willing to donate up to 5% at some pools, to be able to hop freely.  The pool can keep it or redistribute it to their full time miners.  Just a thought....

bitcoinpool cuts your reward in half if you have been in the round for less the 50% of its duration, setting a donation does not stop this. the pool op takes the 50% they remove as a fee for being a hopper/par-timer/<insert favorite stereotype here>. I will no longer be donating to this pool as a result of this.

226% efficiency

http://www.bitcoinpool.com/forum/viewtopic.php?f=1&t=103&p=2449&hilit=donate#p2449

"you will find that donating any percentage of your earnings (setting is in your account profile), you are omitted from being flagged as a pool hopper"

What am I missing?
macboy80
Member
**
Offline Offline

Activity: 102


View Profile
August 03, 2011, 05:51:38 AM
 #2152

Code:
[00:52:28] polmine: 1989383
[00:52:28] {'arsbitcoin': -1, 'btcserv': -1, 'btcmp': -1, 'polmine': -1, 'slush'
: 1.7980000972747803, 'btcmonkey': -1, 'mtred': -1, 'bclc': -1, 'bloodys': -1, '
rfc': -1, 'nofeemining': -1, 'triple': -1, 'btcpool24': -1, 'ozco': -1, 'bmunion
': -1, 'bitclockers': -1, 'bitp': -1}
[00:52:37] RPC request [getwork] submitted to bitcoin.cz

api errors gone.. guess all that is slicing?

Getting the same in my console. Everything else is working though, just the strange output.
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 06:07:37 AM
 #2153

Ok just tried after a fresh download and setup and still get errors. From the errors it looks like bithopper is conflicting with poclbm threading or port/connection used.

When the errors happen poclbm and bithopper error at the same time. These are the errors:

poclbm:
Code:
Traceback (most recent call last):
  File "/home/djex/BitcoinMiner.py", line 326, in longPollThread
    (connection, result) = self.request(connection, url, self.headers)
  File "/home/djex/BitcoinMiner.py", line 284, in request
    response = connection.getresponse()
  File "/usr/lib/python2.6/httplib.py", line 990, in getresponse
    response.begin()
  File "/usr/lib/python2.6/httplib.py", line 391, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.6/httplib.py", line 355, in _read_status
    raise BadStatusLine(line)
BadStatusLine

and

Code:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/djex/BitcoinMiner.py", line 328, in longPollThread
    self.queueWork(result['result'])
  File "/home/djex/BitcoinMiner.py", line 207, in queueWork
    if self.lastBlock != work['data'][48:56]:
TypeError: list indices must be integers, not str

Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/threading.py", line 484, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/djex/BitcoinMiner.py", line 365, in miningThread
    data   = np.array(unpack('IIIIIIIIIIIIIIII', work['data'][128:].decode('hex')), dtype=np.uint32)
TypeError: list indices must be integers, not str

bitHopper:
Code:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 318, in callback
    self._startRunCallbacks(result)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 424, in _startRunCallbacks
    self._runCallbacks()
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 441, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 949, in gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
    result = g.send(result)
  File "/home/djex/bithopper-c00w/work.py", line 68, in jsonrpc_lpcall
    lp.receive(text,server)
  File "/home/djex/bithopper-c00w/lp.py", line 36, in receive
    self.blocks[block][server] = time.time()
exceptions.TypeError: unhashable type: 'dict

I reverted back to a previous version for now.

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

Activity: 476


moOo


View Profile
August 03, 2011, 06:17:10 AM
 #2154

Quote
"you will find that donating any percentage of your earnings (setting is in your account profile), you are omitted from being flagged as a pool hopper"

What am I missing?


hmm you actually seem to be correct. though I would still lke more clarification.

Quote
Quote
inputname wrote:
I did think I had read that somewhere. So I went looking for confirmation before making the post. I looked in the FAQ, by the donation drop down, the front page of the blog articles because the archive button didn't work, and then read this entire post. Butsaw no mention of donations opting you out from anti-pool hopping detection.
So if there could be a blurb added to some location that's on the same page as other anti-pool hopping information I think that would help useablity a little.

I'm glad you have this system in place,and I'll go along my merry mining way, and try not to ask for features that already exist again.


It's right above the drop-down box on the account page. It displays when you have no donation set.

and he is the site owner.


edit: i'm back on the pool, and yeah in the user section it says right above the donation button that hopper protects go away for a donation.. not sure about their various user bans for not mining for any reasonable length of time.. but I'll see.. I'm donating 1% and if any site doesnt want to screw with us, i'd be willing to give them 1% as well

i do see posts of people still [getting banned with a donation set for being idle](http://www.bitcoinpool.com/forum/viewtopic.php?f=1&t=166&p=3466&hilit=donation#p3466)

mooo for rent
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 06:43:27 AM
 #2155

@djex
Thats actually more longpoll crashing. Latest version has that fixed. We will see what else comes up.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 03, 2011, 06:50:08 AM
 #2156

just updated.. i get this...

[
Code:
02:49:09] RPC request [getwork] submitted to bloodys
[02:49:21] LP Call pool.bloodys.com:8332/LP
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\work.py", line 98, in jsonrpc_call
    lp.set_lp(v[0],server['pool_index'])
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\lp.py", line 52, in set_lp
    self.pull_lp(url,server)
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\lp.py", line 67, in pull_lp
    work.jsonrpc_lpcall(self.bitHopper.get_lp_agent(),server, lp_address, self)
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 1141, in
unwindGenerator
    return _inlineCallbacks(None, f(*args, **kwargs), Deferred())
--- <exception caught here> ---
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 1020, in
_inlineCallbacks
    result = g.send(result)
  File "D:\Users\joulesbeef\Desktop\currentminer\cowaug3rdnewsetfixed\c00w-bitHo
pper-59804ec\work.py", line 61, in jsonrpc_lpcall
    header = {'Authorization':["Basic " +base64.b64encode(server['user']+ ":" +
server['pass'])], 'User-Agent': ['poclbm/20110709'],'Content-Type': ['applicatio
n/json'] }
exceptions.TypeError: string indices must be integers, not str
[02:49:21] RPC request [getwork] submitted to bloodys
[02:49:22] RPC request [getwork] submitted to bloodys

mooo for rent
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 06:51:25 AM
 #2157

@beef
So did I and the fix is already up.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 03, 2011, 06:55:12 AM
 #2158

you too quick.. all is good here now

mooo for rent
nob
Newbie
*
Offline Offline

Activity: 23


View Profile
August 03, 2011, 07:07:44 AM
 #2159

I'm getting alot "miner is idle" erros from my workers, since the "lp update" from you c00w

I tested phoenix 1.5 and poclbm, aswell phoenix with askrate 2 and default. Everytime the same ~10-20% "out of work" (poclbm droped von average 306 to 270 mHashs)

BitHopper is spamming "getwork" requests:

Code:
[09:06:06] RPC request [getwork] submitted to bitcoin.cz
[09:06:07] RPC request [getwork] submitted to bitcoin.cz
[09:06:09] RPC request [getwork] submitted to bitcoin.cz
[09:06:09] RPC request [getwork] submitted to bitcoin.cz
[09:06:11] RPC request [getwork] submitted to bitcoin.cz
[09:06:11] RPC request [getwork] submitted to bitcoin.cz
[09:06:11] RPC request [a787d000] submitted to bitcoin.cz
[09:06:12] RPC request [getwork] submitted to bitcoin.cz
[09:06:13] RPC request [getwork] submitted to bitcoin.cz
[09:06:14] RPC request [getwork] submitted to bitcoin.cz
[09:06:15] RPC request [getwork] submitted to bitcoin.cz
[09:06:15] RPC request [getwork] submitted to bitcoin.cz
[09:06:16] RPC request [getwork] submitted to bitcoin.cz
[09:06:17] RPC request [getwork] submitted to bitcoin.cz
[09:06:18] RPC request [getwork] submitted to bitcoin.cz
[09:06:18] RPC request [getwork] submitted to bitcoin.cz
[09:06:19] RPC request [d471b000] submitted to bitcoin.cz
[09:06:19] RPC request [2e727000] submitted to bitcoin.cz

The Problem is not only bitcoin.cz related it happens with all the others pools,too.
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 07:13:25 AM
 #2160

Hmmm. Are you running with the slice scheduler?

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Pages: « 1 ... 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 158 ... 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!