Bitcoin Forum
December 10, 2016, 07:08:18 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 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 133 134 135 136 137 138 139 140 141 142 143 144 145 ... 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 333148 times)
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
August 01, 2011, 07:53:59 AM
 #1881

I think I already found one weird spot:
Code:
        self.servers[pool]['err_api_count'] += 1
        if self.servers[pool]['err_api_count'] > 1:
^ this does nothing if the error count is just 1.

I rewrote it to set the share count to "difficulty" instead of 10**10 on errors, I doubt that this would have any adverse effects. Just look at my newest fork.

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
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
c00w
Full Member
***
Offline Offline

Activity: 196


View Profile
August 01, 2011, 07:55:50 AM
 #1882

Um that is because certain people wanted it to not be disabled on the first error. I bow to people who complain enough on issues which are minor.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
August 01, 2011, 08:04:31 AM
 #1883

Hm, only problem is if the response has an error from the beginning. Well, I'll undo my "fix" then in this place and make sure further above that you at least get an integer as share count... Wink

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
August 01, 2011, 08:07:26 AM
 #1884

Tommorow I'll add an api_error and an api_delagger. should fix some of these problems.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
August 01, 2011, 08:17:58 AM
 #1885

Anyways, I think backup_latehop is ready for merging. Pull request sent.

Next on the list: Nicer graphs.
Edit:
Nah, I hate javascript - scratch that!

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
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 01, 2011, 10:00:27 AM
 #1886

PPS / Pushpool / 23Ghash

https://www.ninjacoin.com/
jkminkov
Hero Member
*****
Offline Offline

Activity: 534


View Profile
August 01, 2011, 10:06:12 AM
 #1887

PPS / Pushpool / 23Ghash

https://www.ninjacoin.com/

3% for PPS is unsustainable...

Bleutrade
600 dollars in one place talking - Dudes, hooray, Bitcoin against us just one, but we are growing in numbers!
MaGNeT
Legendary
*
Offline Offline

Activity: 1050


Founder of Orlycoin | O RLY? YA RLY!


View Profile WWW
August 01, 2011, 10:34:15 AM
 #1888

PPS / Pushpool / 23Ghash

https://www.ninjacoin.com/

3% for PPS is unsustainable...

For pool or hopper? Tongue
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
August 01, 2011, 10:49:06 AM
 #1889

Added BTCPool24.com

Another new pool with prop and they even claim to also have instant pay 0% PPS.

They seem to charge a 0.01 transaction fee on payouts though... (never heard of "sendmany", eh?)

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
Disposition
Full Member
***
Offline Offline

Activity: 122


View Profile
August 01, 2011, 11:26:48 AM
 #1890

Quote
* Individual Miner Stats. Based on username

The lack individual miner tracking has been putting me off from using this hopper, now I see this feature, I have a few questions.

how are the user name determined? do you connect to localhost:8337 using any username and password?

thanks.
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
August 01, 2011, 12:04:58 PM
 #1891

...................................................................

Absolutely perfect! I would have never been able to figure that one out. Thanks.

I've created a fork on github. Everybody check out my new stats layout / color scheme. (I also changed and capitalized the pool names in the pool.cfg and user.cfg.default, so just replace those files if you don't want to deal with that.)

https://github.com/macboy80/bitHopper

EDIT: Just updated to comment out disabled pools in pool.cfg and user.cfg.default (Removes disabled pools from the stats) index.html should copy over to latest c00w build without any changes

make a pull request pls, would love to have that

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

Activity: 924


Firstbits: 1pirata


View Profile WWW
August 01, 2011, 12:09:55 PM
 #1892

Quote
* Individual Miner Stats. Based on username

The lack individual miner tracking has been putting me off from using this hopper, now I see this feature, I have a few questions.

how are the user name determined? do you connect to localhost:8337 using any username and password?

thanks.

you can use bitcoin-mining-proxy in between miner and hopper proxy for that purpose

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

Activity: 122


View Profile
August 01, 2011, 12:33:22 PM
 #1893

you can use bitcoin-mining-proxy in between miner and hopper proxy for that purpose

so what does this individual miner status show? do the arthor mean per pool? or is there a flexable mining proxy like feature that's built in already.


also what information should you connect to the hopper by? e.g. the username and password
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
August 01, 2011, 12:45:54 PM
 #1894

you can use bitcoin-mining-proxy in between miner and hopper proxy for that purpose

so what does this individual miner status show? do the arthor mean per pool? or is there a flexable mining proxy like feature that's built in already.


also what information should you connect to the hopper by? e.g. the username and password

ah ok, connect putting any username (ex: x) and any pass (ex: y)

edit: you will have to provide usernames and passwords for every pool in "user.cfg"

i don't understand the "individual miner" part though

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

Activity: 272


Fighting Liquid with Liquid


View Profile
August 01, 2011, 12:52:14 PM
 #1895

i don't understand the "individual miner" part though

perhaps he is thinking about separate worker stats instead of miners?
Sukrim
Legendary
*
Offline Offline

Activity: 1848


View Profile
August 01, 2011, 12:58:17 PM
 #1896

You get the total shares submitted (I think including stale/invalid) on the stats page per worker (whatever you enter as "user" in your miner when connecting to bitHopper), that's all currently.

Might be enough if you have one proxy you share with friends, or to see how many shares have been submitted by one machine, but nothing very sophisticated (yet). If you need something specific, feel free to code it in - I doubt though that there will be many developments in this direction in the near future... if you really need these stats you can anyways use a second proxy and if several people want to poolhop, they can all just use local proxys.

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
August 01, 2011, 01:06:38 PM
 #1897

I plan on adding rejects and last time seen. Whats in the database is the shares for each worker and where they were submitted currently.

1HEmzeuVEKxBQkEenysV1yM8oAddQ4o2TX
paraipan
Legendary
*
Offline Offline

Activity: 924


Firstbits: 1pirata


View Profile WWW
August 01, 2011, 01:23:06 PM
 #1898

@sukrim would you mind coding some "removefromlist" filter if username and pass is not found in user.cfg for a certain pool ?
I just removed accidentally some pool credentials and was getting parse error not knowing why. Thanks

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

Activity: 1960


Poor impulse control.


View Profile WWW
August 01, 2011, 03:37:05 PM
 #1899

I wrote a monte carlo sim for hopping and now we can hopefully put the whole mine_charity thing to bed.

If you hop on at 2 * difficulty, your efficiency never goes over about 0.83.

I'll post chartporn tomorrow and if there are any requests I'll put the sim on github.

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

Activity: 1848


View Profile
August 01, 2011, 03:43:54 PM
 #1900

@para:
Yeah, I'd actually like to display a more descriptive error like "user.cfg incomplete for [pool], disabling [pool]".
Not at the moment though, but within 24 hours, ok?

@organo:
Do you haveby chance monte carlo sims with prop pools to be hopped and scored (ideally) or at least PPLNS pools as backup_latehop (on backup pools, select the one with the most shares currently)?

Even though I should know better, it still "feels" to bring potentially more output if you jump in on long rounds in these payout methods, as at least scored pays for sure more if you get in late (though you never know when "late" happens).

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
Pages: « 1 ... 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 133 134 135 136 137 138 139 140 141 142 143 144 145 ... 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!