organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
|
July 11, 2011, 10:48:06 AM |
|
why default pool is not deepbit PPS but eligius Deepbit PPS costs 10%. Eligius SMPPS has a negligible fee.
|
|
|
|
enmaku
|
|
July 11, 2011, 02:13:28 PM |
|
Crashed during the night. I was running it directly so there was no helpful error message waiting for me, the window simply closed itself while I slept. I ran it from within a command prompt this time so that if it crashes again I'll have an error to post. Hopefully it's just a fluke
|
|
|
|
GoMaD
Member
Offline
Activity: 74
Merit: 15
|
|
July 11, 2011, 02:30:42 PM Last edit: July 11, 2011, 02:40:43 PM by GoMaD |
|
crashed during my breakfast! last i saw was something like: Traceback (most recent call last): File "pool.py", line 204, in server_update select_best_server() File "pool.py", line 179, in select_best_server new_server.callback(None) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 361, in callback self._startRunCallbacks(result) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks current.result = callback(current.result, *args, **kw) File "pool.py", line 337, in bitHopperLP json_request = request.content.read() exceptions.ValueError: I/O operation on closed file
linenumbers didn't match cause i have some changes and comments
|
|
|
|
enmaku
|
|
July 11, 2011, 02:53:58 PM |
|
crashed during my breakfast! last i saw was something like: Traceback (most recent call last): File "pool.py", line 204, in server_update select_best_server() File "pool.py", line 179, in select_best_server new_server.callback(None) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 361, in callback self._startRunCallbacks(result) File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 455, in _startRunCallbacks self._runCallbacks() --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 542, in _runCallbacks current.result = callback(current.result, *args, **kw) File "pool.py", line 337, in bitHopperLP json_request = request.content.read() exceptions.ValueError: I/O operation on closed file
linenumbers didn't match cause i have some changes and comments Got it to crash again, came back here to post about it and saw the exact error already there. Same error for myself as well
|
|
|
|
anty
Newbie
Offline
Activity: 40
Merit: 0
|
|
July 11, 2011, 03:47:16 PM Last edit: July 11, 2011, 04:38:29 PM by anty |
|
It just crashed for me too. None the less, thanks for developing this proxy! I primarily use it to automatically switch to another pool when one goes down. The pool hopping is a nice bonus I want to +1 the request of putting the configuration into a separate file. I'd love to just do a "git update" without needing to merge my config into pool.py. Edit: Here's another crash: nishRequestBody self.allContentReceived() File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 1641, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.7/dist-packages/twisted/web/http.py", line 807, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 125, in process self.render(resrc) File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 132, in render body = resrc.render(self) File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 210, in render return m(request) File "/home/anty/bitHopper/pool.py", line 342, in render_POST return bitHopper_Post(request) File "/home/anty/bitHopper/pool.py", line 281, in bitHopper_Post pool_server=servers[current_server] exceptions.KeyError: None
|
|
|
|
|
enmaku
|
|
July 11, 2011, 05:07:44 PM Last edit: July 11, 2011, 05:51:15 PM by enmaku |
|
Here's my actual error, just crashed again: --- <exception caught here> --- File "D:\Python27\lib\site-packages\twisted\web\server.py", line 127, in proce ss self.render(resrc) File "D:\Python27\lib\site-packages\twisted\web\server.py", line 147, in rende r body = resrc.render(self) File "D:\Python27\lib\site-packages\twisted\web\resource.py", line 216, in ren der return m(request) File "D:\bithopper\pool.py", line 342, in render_POST return bitHopper_Post(request) File "D:\bithopper\pool.py", line 281, in bitHopper_Post pool_server=servers[current_server] exceptions.KeyError: None Unhandled Error Traceback (most recent call last): File "D:\Python27\lib\site-packages\twisted\web\http.py", line 1349, in dataRe ceived finishCallback(data[contentLength:]) File "D:\Python27\lib\site-packages\twisted\web\http.py", line 1563, in _finis hRequestBody self.allContentReceived() File "D:\Python27\lib\site-packages\twisted\web\http.py", line 1619, in allCon tentReceived req.requestReceived(command, path, version) File "D:\Python27\lib\site-packages\twisted\web\http.py", line 773, in request Received
Edit: It's now crashing like this ~once per hour... Help!
|
|
|
|
OCedHrt
Member
Offline
Activity: 111
Merit: 10
|
|
July 11, 2011, 05:43:51 PM Last edit: July 11, 2011, 07:04:16 PM by OCedHrt |
|
mtred share information is actually incorrect. Numbers from both servers need to be combined. def mtred_sharesResponse(response): global servers info = json.loads(response) - round_shares = int(info['server']['servers']['n0']['roundshares']) + round_shares = int(info['server']['roundshares']) servers['mtred']['shares'] = round_shares log_msg('mtred :' + str(round_shares)) Also just noticed mine.co is now PPLNS. Maybe should stop hopping to it or adjust its value.
|
|
|
|
jkminkov
|
|
July 11, 2011, 06:01:29 PM |
|
how do I put 10-15 seconds delay before pulling API data from all pools when LP is triggered?
|
.:31211457:. 100 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
|
|
|
c00w (OP)
|
|
July 11, 2011, 07:18:10 PM Last edit: July 11, 2011, 07:46:58 PM by c00w |
|
1) Lots of crashes? Are you saying the server process died? Or your client got disconnected... Most of the crashes you guys reported were in your bitHopperLP and as of about 2 am last night had a lot of try catch blocks to deal with the bizarre behavior of miners. I added some more.
2) Spinning out the authentication info? Yeah I'll do it.
3) That one with server_name being none? I fixed it. I think if every server lags out it would do that. Now it never will.
4) Adding more pools and mine.co is now not poolhoppable? I'll set it as a info pool. I'll add the other pools when I have the time. I'm not going to add slush's as a poolhopper pool because pool hopping seems to be mostly random chance.
5) How to put a 10-15 second delay before pulling servers after LP is triggered? Well LP should't be triggered server side from pools. It triggers miners from the pool changing servers. There is a .addDelayedCall or something similiar in twisted that you could use.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
enmaku
|
|
July 11, 2011, 07:42:03 PM |
|
Not client disconnects, the error I posted gets spammed several times per second, so quickly that it fills the buffer before I'm able to pause and see what occurred immediately prior.
|
|
|
|
OCedHrt
Member
Offline
Activity: 111
Merit: 10
|
|
July 11, 2011, 08:38:46 PM |
|
4) Adding more pools and mine.co is now not poolhoppable? I'll set it as a info pool. I'll add the other pools when I have the time. I'm not going to add slush's as a poolhopper pool because pool hopping seems to be mostly random chance.
Actually, you could probably still hop mine.co but will have to change the effective share range.
|
|
|
|
c00w (OP)
|
|
July 11, 2011, 09:17:48 PM |
|
Actually, you could probably still hop mine.co but will have to change the effective share range.
Maybe. I need to think about the math more and there are a million other things that need to be done for bitHopper. If you increased the effective share range I think you would still not make as much money hopping it as the other pools. The initial ramp up means you wouldn't get paid very much and then you could never quit or you would have to ramp up again...
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
c00w (OP)
|
|
July 11, 2011, 09:20:37 PM |
|
Not client disconnects, the error I posted gets spammed several times per second, so quickly that it fills the buffer before I'm able to pause and see what occurred immediately prior.
The None error should be fixed. The other errors will still appear but should be properly recovered. They still print the full error text but I should probably throw in a debug flag for that output.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
enmaku
|
|
July 11, 2011, 10:31:14 PM |
|
Not client disconnects, the error I posted gets spammed several times per second, so quickly that it fills the buffer before I'm able to pause and see what occurred immediately prior.
The None error should be fixed. The other errors will still appear but should be properly recovered. They still print the full error text but I should probably throw in a debug flag for that output. Awesome, updating from git then Edit: you should also probably modify the readme to indicate password.py as the new location of the account info. Didn't take a substantial amount of brainpower to figure that one out but I've worked tech support enough to know that no matter how obviously wrong the directions are there will always be some idiot who will follow them and then complain when it didn't work
|
|
|
|
koopa
Member
Offline
Activity: 61
Merit: 10
|
|
July 11, 2011, 10:50:10 PM |
|
Hi, I am getting the following errors each time I start bithopper, or when it switches pools: Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): File "C:\path\to\bithopper\pool.py", line 383, in <module> main() File "C:\path\to\bithopper\pool.py", line 377, in main update_call.start(117) File "C:\Python27\lib\site-packages\twisted\internet\task.py", line 163, in start self() File "C:\Python27\lib\site-packages\twisted\internet\task.py", line 194, in __ call__ d = defer.maybeDeferred(self.f, *self.a, **self.kw) --- <exception caught here> --- File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 133, in m aybeDeferred result = f(*args, **kw) File "C:\path\to\bithopper\pool.py", line 253, in update_servers d = getPage(info['api_address']) File "C:\Python27\lib\site-packages\twisted\web\client.py", line 547, in getPage *args, **kwargs).deferred File "C:\Python27\lib\site-packages\twisted\web\client.py", line 525, in _make GetterFactory from twisted.internet import ssl File "C:\Python27\lib\site-packages\twisted\internet\ssl.py", line 42, in <mod ule> from OpenSSL import SSL exceptions.ImportError: No module named OpenSSL Trying to delag I'm running bithopper on windows xp, with the latest phoenix miner. I'm not exactly sure if these errors are effecting the performance of bithopper, as it continues to rum seemingly unaffected. Is this bad?
|
|
|
|
enmaku
|
|
July 12, 2011, 12:19:38 AM |
|
it continues to rum seemingly unaffected.
That's my kind of script
|
|
|
|
c00w (OP)
|
|
July 12, 2011, 01:37:43 AM |
|
Hi, I am getting the following errors each time I start bithopper, or when it switches pools: Unhandled error in Deferred: Unhandled Error Traceback (most recent call last): File "C:\path\to\bithopper\pool.py", line 383, in <module> main() File "C:\path\to\bithopper\pool.py", line 377, in main update_call.start(117) File "C:\Python27\lib\site-packages\twisted\internet\task.py", line 163, in start self() File "C:\Python27\lib\site-packages\twisted\internet\task.py", line 194, in __ call__ d = defer.maybeDeferred(self.f, *self.a, **self.kw) --- <exception caught here> --- File "C:\Python27\lib\site-packages\twisted\internet\defer.py", line 133, in m aybeDeferred result = f(*args, **kw) File "C:\path\to\bithopper\pool.py", line 253, in update_servers d = getPage(info['api_address']) File "C:\Python27\lib\site-packages\twisted\web\client.py", line 547, in getPage *args, **kwargs).deferred File "C:\Python27\lib\site-packages\twisted\web\client.py", line 525, in _make GetterFactory from twisted.internet import ssl File "C:\Python27\lib\site-packages\twisted\internet\ssl.py", line 42, in <mod ule> from OpenSSL import SSL exceptions.ImportError: No module named OpenSSL Trying to delag I'm running bithopper on windows xp, with the latest phoenix miner. I'm not exactly sure if these errors are effecting the performance of bithopper, as it continues to rum seemingly unaffected. Is this bad? Yes. You need to install the python OpenSSL libraries on windows. https://launchpad.net/pyopenssl. I'm adding it to the readme.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
c00w (OP)
|
|
July 12, 2011, 02:56:57 AM Last edit: July 12, 2011, 03:39:30 AM by c00w |
|
In case you haven't noticed I got Server Side LP working. And now my rejection rate is 0%. Which is pretty sweet.
EDIT: Actually Its not completely working. But it is a lot less broken.
|
1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
|
|
|
organofcorti
Donator
Legendary
Offline
Activity: 2058
Merit: 1007
Poor impulse control.
|
|
July 12, 2011, 03:01:28 AM |
|
4) Adding more pools and mine.co is now not poolhoppable? I'll set it as a info pool. I'll add the other pools when I have the time. I'm not going to add slush's as a poolhopper pool because pool hopping seems to be mostly random chance.
I just read through the info on PPLNS, as used by mineco.in and I can't think of a way to get around their system. It's simple - proportional payout only for last 0.5*<difficulty> shares before the block is found. You could hop there after say 0.5*<difficulty> shares or even <difficulty> shares on the off chance that they'll find a block around normal difficulty, but with variance so huge and block shares competed in 0.5*<difficulty> or 2*<difficulty> being fairly common I get the idea that you lose out more than you'd gain. I haven't done the math but it seems intuitively not to be profitably hoppable. Yay! Another pure prop pool converts. Interestingly though (from Ekligius post on the matter, http://eligius.st/wiki/index.php/Pay_Per_Last_N_Shares): If another block is found at share Y, where (Y-X)<N, the shares in both lookback windows wind up getting paid again. Thus, multiple quick hits can mean a single share is paid multiple times. So I'd be interested in seeing if it's worth sacrificing a few shares at the very start of a round (which would mostly die) in case there are two short rounds in a row. Unlikely though.
|
|
|
|
|