Bitcoin Forum
August 19, 2017, 01:58:23 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   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 347699 times)
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


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

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
1503107903
Hero Member
*
Offline Offline

Posts: 1503107903

View Profile Personal Message (Offline)

Ignore
1503107903
Reply with quote  #2

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

Activity: 196


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

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
 #2143

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
 #2144

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

mooo for rent
licutis
Jr. Member
*
Offline Offline

Activity: 35


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

.
simonk83
Hero Member
*****
Offline Offline

Activity: 896


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

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
 #2147

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
 #2148

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
 #2149

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
 #2150

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
 #2151

@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
 #2152

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
 #2153

@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
 #2154

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
 #2155

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
 #2156

Hmmm. Are you running with the slice scheduler?

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
djex
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 07:14:30 AM
 #2157

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

I can confirm this as well. Getting more since LP updates. Also not running slice scheduler, would this be the problem?

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
nob
Newbie
*
Offline Offline

Activity: 23


View Profile
August 03, 2011, 07:22:27 AM
 #2158

i'm not running slice schedular, will use it now
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 03, 2011, 07:22:59 AM
 #2159

I've gotten 1 idle error in 30 minutes..and i was mining bitclockers at the time.. so cant really say it was the hopper.
and yeah I am using slicing. ! seems fine to me in the time but I'll keep an eye on it.

I have been getting this for a while.. mean anything? seems to only happen when i start mining... and not every time.
Code:
011-08-03 03:00:14: Listener for "moohopper": Unhandled error in Deferred:
2011-08-03 03:00:14: Listener for "moohopper": Traceback (most recent call last):
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 238, in callback
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 307, in _startRunCallbacks
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 323, in _runCallbacks
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 766, in gotResult
2011-08-03 03:00:14: Listener for "moohopper": --- <exception caught here> ---
2011-08-03 03:00:14: Listener for "moohopper": File "twisted\internet\defer.pyo", line 746, in _inlineCallbacks
2011-08-03 03:00:14: Listener for "moohopper": File "minerutil\RPCProtocol.pyo", line 244, in _requestComplete
2011-08-03 03:00:14: Listener for "moohopper": File "minerutil\RPCProtocol.pyo", line 352, in handleWork
2011-08-03 03:00:14: Listener for "moohopper": exceptions.TypeError: list indices must be integers, not str

mooo for rent
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 03, 2011, 07:29:21 AM
 #2160

It looks like LP is returning the wrong thing.. I'll take a look.

EDIT: Fixed. And all of those errors were from the threads handling getwork dieing silently... Have I mentioned all miners seem to be worthless?

EDIT: Its actually still broken I think... But we'll see.

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!