Bitcoin Forum
December 09, 2016, 01:38:01 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 333021 times)
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 12, 2011, 07:57:45 PM
 #121

Huh. I was actually going to add btcmine as the second backup pool but I can't register on it since registration is closed.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
1481290681
Hero Member
*
Offline Offline

Posts: 1481290681

View Profile Personal Message (Offline)

Ignore
1481290681
Reply with quote  #2

1481290681
Report to moderator
1481290681
Hero Member
*
Offline Offline

Posts: 1481290681

View Profile Personal Message (Offline)

Ignore
1481290681
Reply with quote  #2

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

Activity: 1848


View Profile
July 12, 2011, 09:08:25 PM
 #122

As stats/website would most likely require a database that's why I suggested google app engine! Wink
Just use a no-sql backend if possible please to make porting more easy later on.

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 12, 2011, 09:21:52 PM
 #123

Stats are in the work. Short term efficiency stats are next on the list. I'm probably going to run with sqlite or mongodb at first if a database is required. However I think I can get away without one for a bit.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
July 12, 2011, 09:29:39 PM
 #124

http://mining.mainframe.nl/ claims they use a hopper-proof algorithm. Might not be so useful to hop there.

Quote
Pool Hashrate: 1.55 GH/s
Pool Workers: 9

The above might be a reason why noone hopped there so far! Wink

I think just deleting the respective line from "selectsharesResponse(response, args):" should be enough, right?
[Edit: it is, but throws errors (and continues) - I also commented the section in the "servers" dictionary]

Thanks for considering the database backend!

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
July 12, 2011, 09:31:08 PM
 #125

don't bother adding btcmine. They have AntiHopperTechnology added. With multipool the efficiency for 90000 shares with btcmine was 0.785.  

Bitpit are golden so far, I'd add them.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
bigbeerjr
Newbie
*
Offline Offline

Activity: 19



View Profile
July 12, 2011, 10:06:20 PM
 #126

What is the deal with commit 22535ca0778280861f9ba5616194aa8cf2ded4b3?
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
July 12, 2011, 10:09:46 PM
 #127

Namecoin should by the way also be possible...

There are however just a few considerations:
You can estimate the "worth" of 1 NMC as the ratio between BTC difficulty and NMC difficulty. However this is not an exact measure, only what would be expected, and Namecoins are currently "undersold" on the Namecoin exchange.

A better estimate would be an average value, for example from http://www.nmcwatch.com/ (would be a simple regex). This would lead to increased queries though.

@bigbeer: seems to me he/she disabled the wrong pool, hm?! Huh

https://bitfinex.com <-- leveraged trading of BTCUSD, LTCUSD and LTCBTC (long and short) - 10% discount on fees for the first 30 days with this refcode: x5K9YtL3Zb
Mail me at Bitmessage: BM-BbiHiVv5qh858ULsyRDtpRrG9WjXN3xf
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 12, 2011, 10:23:42 PM
 #128

Fixed disabling of the wrong pool. Also I think I fixed the RPC cycling bugs. Found a new bug in the client side long polling of certain miners which are unable to handle a LP call returning an error JSON RPC call.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
July 12, 2011, 11:03:42 PM
 #129

keep up the good work man, bitcoins coming your way Smiley  (when I get them)

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

Activity: 196


View Profile
July 13, 2011, 02:30:26 AM
 #130

And I reordered the code again to try and stop tripping eligius's DDOS settings. To whoever sent me some bitcoins: Thank you very much.

I hope I'll do some stats soon but I'm spending too much time tracking down bugs. Its on the list. I swear.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
July 13, 2011, 03:04:43 AM
 #131

@ c00w: Does entering an invalid or empty username/password combo cause problems?

The reason I ask is that atm if a user doesn't like a pool or the pool starts withholding rewards, giving too many stales, or starts using an antihopping algo users have to go into going to pool.py in starts commenting out lines It might be easier for users to simply delete the username and password to turn a pool 'off'.

An advantage for you (c00w) is that you wouldn't have to worry about finding out which pools are good or not, adding them or deleting them. You could just add the top (say) 15 pools, don't worry about whether they use antihopping or not and let everyone take their pick. The only extra work for you would be figuring out the pool's api.

Then, if the stats show a pool is crapping out, the user can just delete the relevant username and password. Or maybe comment them out.

tl;dr
1. c00w adds top 15 pools and their api.
2. Users enter the username/passwords/api (if necessary) only of pools they actually want to use.
3. Username/passwords/api can be added or deleted later on.

I think this would reduce duplication of effort for both you and users.

What do you think?

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
enmaku
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
July 13, 2011, 03:43:42 AM
 #132

Getting the following a lot:

Code:
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 361, in c
allback
    self._startRunCallbacks(result)
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 455, in _
startRunCallbacks
    self._runCallbacks()
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 542, in _
runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 1076, in
gotResult
    _inlineCallbacks(r, g, deferred)
--- <exception caught here> ---
  File "D:\Python27\lib\site-packages\twisted\internet\defer.py", line 1020, in
_inlineCallbacks
    result = g.send(result)
  File "D:\bitHopper\work.py", line 140, in jsonrpc_getwork
    request.finish()
  File "D:\Python27\lib\site-packages\twisted\web\http.py", line 866, in finish
    "Request.finish called on a request after its connection was lost; "
exceptions.RuntimeError: Request.finish called on a request after its connection
 was lost; use Request.notifyFinish to keep track of this.

Doesn't seem to crash or anything, it recovers quickly, just thought I'd notify you Smiley
Edit: Scratch that, it is now happening so often that I'm getting more errors than actual traffic and an unreasonable amount of hashing power is falling to my backup pool, I've switched back to a previous build that still seems to work just fine, but whatever this is, it's BAD.

zapeta
Full Member
***
Offline Offline

Activity: 182


View Profile
July 13, 2011, 04:08:42 AM
 #133

Just FYI, Mineco.in has implemented a Pay Per Last N Shares reward scheme.  I'm guessing their change in payment scheme would require some adjustment of the pool hopper.
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
July 13, 2011, 04:18:14 AM
 #134

1)Minecoin?
They are already out of the rotation.

2) Crashes on that line?
Removed it. Not needed. I'm unsure why it was sucking so much work though... I did up the timer for the stalls to half a second a piece. It looks like your miner is timing out too quickly. I got these sorts of stalls with poclbm. Phoenix stalls less although it will try and double submit shares.

EDIT: Actually I think it is a server side LP issue. Which I think I just fixed. I accidentally had error'd LP calls call the lp handler

3) Invalid username/password taking out a pool?
Yeah it already does this assuming the pool won't accept the work. Sometimes it does. its a little dicey. I'm going to try and add an option for going --skip Name1, Name2, etc... as well as a --list to help tell people which servers are installed.

EDIT: Enabled and in the repository. Note the format for disable should have no spaces.
Oh and I used --disable not --skip

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
zapeta
Full Member
***
Offline Offline

Activity: 182


View Profile
July 13, 2011, 04:46:33 AM
 #135

1)Minecoin?
They are already out of the rotation.

Sorry, I misread Mineco as minecoin in the password file!  My apologies.
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
July 13, 2011, 05:57:57 AM
 #136

Code:
print "You just disabled the backup pool. I hope you know what you are doing"

*That* made me grin. The snarkier the better!

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
enmaku
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
July 13, 2011, 06:06:38 AM
 #137

2) Crashes on that line?
Removed it. Not needed. I'm unsure why it was sucking so much work though... I did up the timer for the stalls to half a second a piece. It looks like your miner is timing out too quickly. I got these sorts of stalls with poclbm. Phoenix stalls less although it will try and double submit shares.

EDIT: Actually I think it is a server side LP issue. Which I think I just fixed. I accidentally had error'd LP calls call the lp handler

Updated, it appears to be running and I haven't seen another error yet. I'm keeping my eyes open and fingers crossed though Smiley

Thanks! (damn you work fast)

nob
Newbie
*
Offline Offline

Activity: 23


View Profile
July 13, 2011, 06:07:12 AM
 #138

First things first, Thanks for BitHopper!

Second: Thought about ArsBitcoin as second Backup Pool? Like Eligius thery are using SMPPS. I mined on Ars when Eligius had problems, and had 0 Downtimes.

enmaku
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
July 13, 2011, 07:10:43 AM
 #139

Yet another wall of errors and half my hashrate is going to my backup pool (running at -f60 priority in case the proxy fails)  Huh

Code:
Request.finish called on a request after its connection was lost; use Request.no
tifyFinish to keep track of this.
[00:09:22] RPC request [] submitted to bitclockers.com
caught, Final response/writing
Request.finish called on a request after its connection was lost; use Request.no
tifyFinish to keep track of this.
Caught, jsonrpc_call insides
TCP connection timed out: 10060: A connection attempt failed because the connect
ed party did not properly respond after a period of time, or established connect
ion failed because connected host has failed to respond..

organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
July 13, 2011, 07:21:10 AM
 #140

As far as fail over goes, try using the new poclbm. It haa built in failover to whatever your back up pool its at whatever -f you have for your main pool. Even if poclbm isn't as fast for you as whatever you're using, it might be worthwhile until bitHopper is working properly for you.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 ... 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!