Bitcoin Forum
May 07, 2024, 11:26:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
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 58 59 60 61 62 63 64 65 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355556 times)
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 11:18:00 AM
 #281

not to be a pain in the ass, but could you put it on mediafire.

For some reason my internet is terribly slow to 2shared and megaupload and just timesout, mediafire seems fast however.

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
1715124378
Hero Member
*
Offline Offline

Posts: 1715124378

View Profile Personal Message (Offline)

Ignore
1715124378
Reply with quote  #2

1715124378
Report to moderator
The grue lurks in the darkest places of the earth. Its favorite diet is adventurers, but its insatiable appetite is tempered by its fear of light. No grue has ever been seen by the light of day, and few have survived its fearsome jaws to tell the tale.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715124378
Hero Member
*
Offline Offline

Posts: 1715124378

View Profile Personal Message (Offline)

Ignore
1715124378
Reply with quote  #2

1715124378
Report to moderator
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
July 15, 2011, 11:19:53 AM
 #282

not to be a pain in the ass, but could you put it on mediafire.

For some reason my internet is terribly slow to 2shared and megaupload and just timesout, mediafire seems fast however.

np  here you go .... http://www.mediafire.com/?3ywhg717wwcbxns

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

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 15, 2011, 11:32:57 AM
 #283

Anyone trialled taking the the round share proportion of difficulty before hopping to eligius to 1.0?

I'd be interested to see if it affects efficiency at all (from my admittedly rusty math i dont think Raulo's hypothesis applies to multi-pool hopping and http://forum.bitcoin.org/index.php?topic=24966.0 and http://forum.bitcoin.org/index.php?topic=28499.msg358718#msg358718 have nice little explanations).

 I'm starting to think staying until difficulty (if you have to) is the way to go.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 15, 2011, 11:36:41 AM
 #284

Any reason not to start adding up and comers instead of going after the big guys?
Rounds there last forever aaand the risk of being scammed is also a LOT higher if they just have a userbase of ~50 ppl. Especially since they might view it as "cheating the cheaters" and not even feel wrong about it.

https://www.nofeemining.com/ has anyways "round shares" on their front page, that's all you need really. As they only found 2 blocks so far though I'm still a bit sceptical...


Rounds last forever shouldn't be an issue for 'hoppers. We'll get payment eventually - unless the new pool wants to ruin their reputation early on. And i think they'd be glad of the extra hashes and do whatever they can *not* to put us off.

See your point with nfm, but i didn't want to add html scraping to the bithopper code. TFL.

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

Activity: 504
Merit: 502


View Profile
July 15, 2011, 11:37:59 AM
 #285

So onto a another topic but related :0 , anyone got code snippets to add triplemining.com to the rotation ?

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
July 15, 2011, 11:44:52 AM
 #286

So onto a another topic but related :0 , anyone got code snippets to add triplemining.com to the rotation ?

You could make your own if you don´t like waiting, you have the snipet right in "pool.py" file. Don´t foget to make 2 new entries in "password.py" for user and pass

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

Activity: 504
Merit: 502


View Profile
July 15, 2011, 11:46:56 AM
 #287

So onto a another topic but related :0 , anyone got code snippets to add triplemining.com to the rotation ?

You could make your own if you don´t like waiting, you have the snipet right in "pool.py" file. Don´t foget to make 2 new entries in "password.py" for user and pass


Yeh, was just busy with some other stuff and figured if someone had it on hand they could post it. If I get around to it I will post it here.

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
July 15, 2011, 11:48:01 AM
 #288

So onto a another topic but related :0 , anyone got code snippets to add triplemining.com to the rotation ?
I already posted one a few pages back - you need to import the re (regular expressions) package though, as you have to scrape HTML. Other than that I didn't have any issues with it so far. c00w did not(yet?) include it on git though, maybe because of the HTML?

nofeemining can be done fairly similar, it doesn't matter anyways if you decode a json file or search for some numbers in a HTML response... Usually you won't need something fancy like beautifulsoup...

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 11:53:35 AM
 #289

found your post, thanks.

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
Sukrim
Legendary
*
Offline Offline

Activity: 2618
Merit: 1006


View Profile
July 15, 2011, 11:58:43 AM
 #290

It might need some tiny adjustments (I think the log function is now in a different module) but it should/does work...

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 15, 2011, 12:19:02 PM
 #291

holy crap, mt red does it again!


Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
July 15, 2011, 12:44:52 PM
 #292

Just found a little bug: when "backup" servers are changed to "info" the script refuses to work properly blaiming it on json stats.

@c00w would be nice to leave at our decision with pools are banning or not. Yes, I´m aware it happened to you but ppl were using your credentials from different ip´s, simulating a botnet jeje

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

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
July 15, 2011, 02:47:30 PM
 #293

now that nofeemining.com are no longer protecting their stats with a captcha, i decided to add them (i added and defined nofee_user_apikey in passwords.py):

Code:
      'nofee':{'shares': default_shares, 'name': 'nofee',
           'mine_address': 'nofeemining.com:8332', 'user': nofee_user,
           'pass': nofee_pass, 'lag': False, 'LP': None,
           'api_address':'https://www.nofeemining.com/api.php?key=' + nofee_user_apikey, 'role':'mine'}
...

def nofee_sharesResponse(response):
    global servers
    info = json.loads(response)
    round_shares = int(info['poolRoundShares'])
    servers['nofee']['shares'] = round_shares
    bitHopper.log_msg('nofee:' + FormatShares(round_shares))

...

'nofee':nofee_sharesResponse,

but i get the following error:


Code:
"[Failure instance: Traceback: <type 'exceptions.ValueError'>: No JSON object could be decoded\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1076:gotResult\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:1063:_inlineCallbacks\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:361:callback\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:455:_startRunCallbacks\n--- <exception caught here> ---\n/usr/lib/python2.6/dist-packages/twisted/internet/defer.py:542:_runCallbacks\n/home/user/bitHopper/pool.py:195:selectsharesResponse\n/home/user/bitHopper/pool.py:169:nofee_sharesResponse\n/usr/lib/python2.6/json/__init__.py:307:loads\n/usr/lib/python2.6/json/decoder.py:319:decode\n/usr/lib/python2.6/json/decoder.py:338:raw_decode\n]"

the api definitely works from curl and wget, and the identifier is 'poolRoundShares'.

no fee mining is a prop pool that proudly proclaim on their website :"no pool hopping protection" !  they want us bad. i like being wanted. So any ideas on a fix?

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

Activity: 2618
Merit: 1006


View Profile
July 15, 2011, 04:10:13 PM
 #294

To me they seem FAR too tiny (25 GH/s, only 2 blocks found) to not be a scam/trustworthy.

Got an API key by any chance? Also it might be that it just isn't JSON what this API delivers...

https://www.coinlend.org <-- automated lending at various exchanges.
https://www.bitfinex.com <-- Trade BTC for other currencies and vice versa.
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 15, 2011, 05:29:22 PM
 #295

1) Why haven't I added more pools? Specifically triple mining and whatever else has been posted?
I'm working on database stats for all pools we hop. And sleeping.

2)Why did I disable bclc for everyone?
The pool operator annoyed me, was rude and boorish and I didn't want to give him my business.

3) Changing backup pools to info breaks things?
Well yeah. They have no api in the servers dictionary so when it tries to pull it an error appears.

4) I jump to arstechnica then back to bitp.it?
The backup pools have a fair algorithm so it doesn't matter. They are used when no other pool is good. If only 1 pool is good i.e. bitp.it and we have a little network trouble it'll jump from the pool it can't connect to and use the next pool (backup) until the best pool comes back up.

5) How to hop deepbit or btcguild with delayed stats?
Well they still use LP... I'm going to need some functions to look inside the data we send to the clients however which I haven't implemented.

6) Ignoring websites with regex?
I haven't been. I've mostly been sleeping. I'll throw on some with it after I get the stats database working or if someone submits a pull request.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 05:47:49 PM
 #296

I think its long overdue to say, great work so far c00w.

Good to know you are also human and require sleep Smiley

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
July 15, 2011, 06:47:33 PM
 #297

I think its long overdue to say, great work so far c00w.

Good to know you are also human and require sleep Smiley

+1

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

Activity: 196
Merit: 100


View Profile
July 15, 2011, 08:10:09 PM
 #298

I'm also going to be completely out of communication on saturday. We'll see if the database is ready by tonight.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 08:48:33 PM
 #299

I'm also going to be completely out of communication on saturday. We'll see if the database is ready by tonight.

If its not, I will simply have to cancel my subscription and request a refund Wink

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
Clipse
Hero Member
*****
Offline Offline

Activity: 504
Merit: 502


View Profile
July 15, 2011, 09:13:03 PM
 #300

Btw what is the current delay set to for scanning new pool to hop to ?

Also is there any reason to not scan every 5 or even less seconds or is it to prevent pools from banning due to getting hammered?

...In the land of the stale, the man with one share is king... >> Clipse

We pay miners at 130% PPS | Signup here : Bonus PPS Pool (Please read OP to understand the current process)
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 58 59 60 61 62 63 64 65 ... 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!