Bitcoin Forum
November 10, 2024, 07:52:19 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 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 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355783 times)
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 30, 2011, 04:57:35 AM
 #1621

gnadget: We only hold the last 5 minutes worth of objects. Memory usage with 500 getworks in 5 minutes < 1 mb.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 04:57:57 AM
 #1622

also, has anyone got polmine to work? i just get API error and 591402.50% shares.

copy>paste whole pool.cfg.default entry to you cfg and edit only miner and pass, here work just fine

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

Activity: 154
Merit: 102


View Profile
July 30, 2011, 05:03:39 AM
 #1623

gnadget: We only hold the last 5 minutes worth of objects. Memory usage with 500 getworks in 5 minutes < 1 mb.

But we hold the entire merkle root in string format (64 characters).  Assuming a 2 byte encoding, we are looking at 128 bytes per merkle root.  I would estimate I am averaging 3 getworks / s so 3*60*5 = 900.  900 * 128 = 115,200 BYTES...  I see my error in caclulations: I was thinking in kilobytes, duh computers are hard.
gooie
Newbie
*
Offline Offline

Activity: 28
Merit: 0



View Profile
July 30, 2011, 05:07:23 AM
 #1624

also, has anyone got polmine to work? i just get API error and 591402.50% shares.

copy>paste whole pool.cfg.default entry to you cfg and edit only miner and pass, here work just fine

i got it to work, i think it might have something to do with that there's an english version and a polish version of the site, resulting in that it doesn't find the polish text "szystkich".

So i changed it to make it friendly for both the versions.

Code:
api_key:: &nbsp; </b> <br/>([ 0-9]+)<br/> <br/></td><td><b>
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 05:07:48 AM
 #1625

gnadget: We only hold the last 5 minutes worth of objects. Memory usage with 500 getworks in 5 minutes < 1 mb.

But we hold the entire merkle root in string format (64 characters).  Assuming a 2 byte encoding, we are looking at 128 bytes per merkle root.  I would estimate I am averaging 3 getworks / s so 3*60*5 = 900.  900 * 128 = 115,200 BYTES...  I see my error in caclulations: I was thinking in kilobytes, duh computers are hard.

that's 10% of 1 mb, would handle bigger loads then...

edit: rfc lags big time, let's hope they upgrade sometime in the future

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

Activity: 154
Merit: 102


View Profile
July 30, 2011, 05:08:41 AM
 #1626

check the pool websites your mining at, rfc is showing 2% stales for me this round using your script but that could be for other reasons.

Good idea...  I think I can take this as confirmation (rfc):
Last 15 Mins    1359    0    0.000%

I can't believe this gets less stales than phoenix by itself. 
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 30, 2011, 05:10:32 AM
 #1627

Phoenix and most other miners only have 1 thread doing submissions. If it fails they drop the work. Bithopper doesn't.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
gnaget
Full Member
***
Offline Offline

Activity: 154
Merit: 102


View Profile
July 30, 2011, 05:12:29 AM
 #1628

Phoenix and most other miners only have 1 thread doing submissions. If it fails they drop the work. Bithopper doesn't.

kick ass, is that one of your features?  I just keep becoming more and more of a fan of this proxy
paraipan
In memoriam
Legendary
*
Offline Offline

Activity: 924
Merit: 1004


Firstbits: 1pirata


View Profile WWW
July 30, 2011, 05:15:34 AM
 #1629

Phoenix and most other miners only have 1 thread doing submissions. If it fails they drop the work. Bithopper doesn't.

hope they mention you guys when they will "borrow" code from bH if it appears to have a better approach to getwork's

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

Activity: 154
Merit: 102


View Profile
July 30, 2011, 05:17:02 AM
 #1630

Of course, right after I move it over to a screen session, I get this:

Last 15 Mins    1158    21    1.813%

21 stales, and on the stats page I see 9257 / 0

This is unfortunate, there might be an issue with stales not getting reported.  I think the store is working though, rfc sucks, so it isn't a good test
gnaget
Full Member
***
Offline Offline

Activity: 154
Merit: 102


View Profile
July 30, 2011, 05:21:52 AM
 #1631

You know you are watching your stats screen too closely when you start seeing these:

[00:26:02] RPC request [dead1000] submitted to BTC World
Keninishna
Hero Member
*****
Offline Offline

Activity: 556
Merit: 500



View Profile
July 30, 2011, 05:38:13 AM
 #1632

lol 0 stales in last 15 min at rfc for me.  Grin
gnaget
Full Member
***
Offline Offline

Activity: 154
Merit: 102


View Profile
July 30, 2011, 05:48:25 AM
 #1633

ok, I feel confident enough to leave it unattended for the night.  0 stales on ozco in the last 20 minutes
djex
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 30, 2011, 05:55:53 AM
 #1634

ok, I feel confident enough to leave it unattended for the night.  0 stales on ozco in the last 20 minutes

Same here. It's working great. I got 2 stales on rfc out of 1652 shares but that's more than likely lag. Great work.

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

Activity: 168
Merit: 100



View Profile WWW
July 30, 2011, 06:02:14 AM
 #1635

God, the night you guys break through and kill stales I'm stuck in a tent just a phone. I'll probably burn 10,000 stales before I can get to upgrade.

■ ▄▄▄
■ ███
■ ■  ■               
LEDGER  WALLET    ████
■■■ ORDER NOW! ■■■
              LEDGER WALLET
Smartcard security for your BTCitcoins
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Decentralized. Open. Secure.
djex
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 30, 2011, 06:12:39 AM
 #1636

God, the night you guys break through and kill stales I'm stuck in a tent just a phone. I'll probably burn 10,000 stales before I can get to upgrade.

That's why I have remote ssh into my server from my phone Cheesy

Smiley  : 1LbvSEJwtQZKLSQQVYxQJes8YneQk2yhE3
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 30, 2011, 06:37:24 AM
 #1637

@Hawks
How many servers and how many gh/s do you have if you make 10,000 shares in a night? Or are you on a 20 day trek?

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
EskimoBob
Legendary
*
Offline Offline

Activity: 910
Merit: 1000


Quality Printing Services by Federal Reserve Bank


View Profile
July 30, 2011, 06:58:56 AM
 #1638

c00w, your script is getting better all the time.  Smiley

I still like to come back to this old issue of switching pools for no reason aka "DNS lookup failures"

Code:
[09:50:56] RPC request [2a769000] submitted to ozco.in
[09:50:59] mtred: 3165996
[09:50:59] RPC request [8289e000] submitted to ozco.in
Caught, jsonrpc_call insides
DNS lookup failed: address 'ozco.in' not found: [Errno -2] Name or service not known. <--- really? This can/will cause unnecessary hopping :( 
[09:51:04] RPC request [f65c1000] submitted to ozco.in
[09:51:05] RPC request [getwork] submitted to ozco.in
[09:51:06] triple: 8156248 <-- they really need some help about now

Cheers and thank you for all your work.

While reading what I wrote, use the most friendliest and relaxing voice in your head.
BTW, Things in BTC bubble universes are getting ugly....
c00w (OP)
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
July 30, 2011, 07:03:40 AM
 #1639

Eskimo:
Did it switch?

And DNS Lookup Failures is an error. I can write code to just retry though on that specific error if you are proccesing getworks. If you are submitting work it will currently never change servers although it will mark them as lagging.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
macboy80
Member
**
Offline Offline

Activity: 102
Merit: 10


View Profile
July 30, 2011, 07:28:08 AM
 #1640

@c00w - I'm getting a stats page error like before. Only it's happening when I run from the python.exe. Running from idle, it works fine. I believe the offending code is:

Code:
D:\BitHopper\c00w-bitHopper\website.py, line 45 in render_GET
43   except:
44    index = 'index.html'
45   file = open(index, 'r')
46   linestring = file.read()
Locals
index 'index.html'

<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'index.html'

That's the last bit of info on the stats page.
Pages: « 1 ... 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 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 ... 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!