Bitcoin Forum
April 28, 2024, 05:06:29 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 [179] 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 »
  Print  
Author Topic: bitHopper: Python Pool Hopper Proxy  (Read 355551 times)
r2edu
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
August 15, 2011, 03:02:34 AM
 #3561

Getting error in pool api for Polmine and rfc and also bitcoinpool but that is probably because I tried to figure out by myself the right pool.cfg settings for bcpool to mine_deepbit.  Anyone have these working? 

Try polmine with "mine_deepbit", it´s working very good for me. RFC close down, disable it. And bitcoinpool by default at "mine_deepbit" work ok too..
It is a common myth that Bitcoin is ruled by a majority of miners. This is not true. Bitcoin miners "vote" on the ordering of transactions, but that's all they do. They can't vote to change the network rules.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714323989
Hero Member
*
Offline Offline

Posts: 1714323989

View Profile Personal Message (Offline)

Ignore
1714323989
Reply with quote  #2

1714323989
Report to moderator
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 15, 2011, 03:06:05 AM
 #3562

LOL.  Tried for the last half hour to figure out regex scraping so that I could get bitcoinpool to work by scraping from the website instead of the JSON, but its now obvious to me that I have no idea what I am doing.  Anyone got it working from the website stats?  Trying to do re_rate or re_rateduration on it.

are you on bleeding edge?
the newest one works. Though it operates on a new system than we used to have due to the problems we had with them.

I also mine polmine with just mine.. not sure if that is right but it seems to work fine.

mooo for rent
muyoso
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
August 15, 2011, 03:11:03 AM
Last edit: August 15, 2011, 04:03:31 AM by muyoso
 #3563

LOL.  Tried for the last half hour to figure out regex scraping so that I could get bitcoinpool to work by scraping from the website instead of the JSON, but its now obvious to me that I have no idea what I am doing.  Anyone got it working from the website stats?  Trying to do re_rate or re_rateduration on it.

are you on bleeding edge?
the newest one works. Though it operates on a new system than we used to have due to the problems we had with them.

I also mine polmine with just mine.. not sure if that is right but it seems to work fine.


I am on 1.7.2.  I tried mine_deepbit with bitcoinpool and it jumped almost immediately to it even though they are 18 hours into a block.  I looked at the pools.cfg and saw it was using the JSON for round shares and pool speed, all of which is currently being faked.  The round shares, duration and speed are WAY off in the JSON.  That is when I went on the adventure of trying to get BH to regex the stats from the website, which didn't work too well.

NVM, found that 1.7.2 isn't the "bleeding edge" and found the fix in the absolute latest.  Thanks.

I drink it up!
r2edu
Member
**
Offline Offline

Activity: 68
Merit: 10


View Profile
August 15, 2011, 03:11:28 AM
 #3564

BTW, Slush with "mine_slush" with penalty at 0.5 FTW !! Smiley
digger
Sr. Member
****
Offline Offline

Activity: 322
Merit: 250


View Profile WWW
August 15, 2011, 03:16:02 AM
 #3565

now http://digbtc.net

offer pool api

http://digbtc.net/papi.php

just tell every one know!

doge pool: http://dog.ltcoin.net ,yac pool: http://yac.ltcoin.net ,bbq pool: http://bbq.ltcoin.net ,Litecoin pool, http://ltcoin.net dig feathercoin , http://fc.ltcoin.net bitbar pool: http://btb.ltcoin.net wdc pool: http://wdc.ltcoin.net
Houseonfire
Full Member
***
Offline Offline

Activity: 129
Merit: 100


View Profile
August 15, 2011, 03:53:50 AM
 #3566

A few questions:
What does it mean by penalty?

And, can someone help me add in a complete addition of all the gained BTC on the top of the page up by by speed? And also the current system time. For example:

Code:
bcpool @71MHash | 1.000 BTC Earned  |  10:00PM

And by earned, i dont mean cashed out. I mean the total of what is earned so far.
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 15, 2011, 04:02:14 AM
 #3567

the penalty on the stats page is a number that you multiply shares by.

so a pool with 20% shares and a penalty of 2, will be seen by the hopper as having 40% shares and will stop when the pool hits 21.5 on default threshold. cause it will see 21.5 as 43%

it is just a way to mine some pools more than others.



C00w small error

Code:
global name reject not defined.

mooo for rent
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
August 15, 2011, 06:47:47 AM
 #3568

I assume you are giving each pool a table of random block find times (randomly generate a high-precision round percentile 0% to 100%, turn that percentile into number of individual hashes required using correct math, turn that into times using hashrate), and then are simulating the switching and share percentages earned.

No. I am using Meni's formula.


You can't use anything that will provide a uniform random distribution. It has to be at least a binomially distributed random, and at best a time-distributed fractional poisson distribution.

I'm using the built in poisson distribution randomiser built into R with some jiggery pokery to make it a poisson time-distributed random(really share based) instead of the standard poisson distribution http://stat.ethz.ch/R-manual/R-patched/library/stats/html/Poisson.html. Ryouiki has a bespoke poisson randomiser built on mersenne twister as a random seeder.

So there's a bunch of examples to get you going!








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

Activity: 84
Merit: 10


View Profile
August 15, 2011, 01:39:28 PM
 #3569

You can't use anything that will provide a uniform random distribution. It has to be at least a binomially distributed random, and at best a time-distributed fractional poisson distribution.

I'm using the built in poisson distribution randomiser built into R with some jiggery pokery to make it a poisson time-distributed random(really share based) instead of the standard poisson distribution http://stat.ethz.ch/R-manual/R-patched/library/stats/html/Poisson.html. Ryouiki has a bespoke poisson randomiser built on mersenne twister as a random seeder.

The described method does not result in uniformly distributed pool shares.

Also in case you missed it, Meni replied to you here.
ryouiki
Newbie
*
Offline Offline

Activity: 33
Merit: 0



View Profile
August 15, 2011, 01:42:30 PM
 #3570

My simulator uses randomly generated round shares that are generated with simple algorithm mimics block finding procedure. (poisson process) To get statistically meaningful result, I used high quallity Mersenne Twister as a base pseudo-random generator.

pseudo code:
Code:
var sparseness = RAND_MAX / BTC_DIFFICULTY;
var roundShare = 0
while (true)
{
    ++roundShare;
    if (MTrand() < sparseness) break;
}
return roundShare;

table of generated 120k round shares : http://cl.ly/8wg3
cirz8
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
August 15, 2011, 02:33:17 PM
 #3571

BTW, Slush with "mine_slush" with penalty at 0.5 FTW !! Smiley
I have found 0.5 to work quite nice as well
bb
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
August 15, 2011, 02:51:15 PM
 #3572

Btw, I got the latest c00w last night and have been mining with it since. Still no share at deepbit:



?
bb
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
August 15, 2011, 03:01:58 PM
 #3573

My simulator uses randomly generated round shares that are generated with simple algorithm mimics block finding procedure. (poisson process) To get statistically meaningful result, I used high quallity Mersenne Twister as a base pseudo-random generator.

pseudo code:
Code:
var sparseness = RAND_MAX / BTC_DIFFICULTY;
var roundShare = 0
while (true)
{
    ++roundShare;
    if (MTrand() < sparseness) break;
}
return roundShare;

table of generated 120k round shares : http://cl.ly/8wg3

I plotted your sample:



and a sample I produced:



Please excuse the missing labels. x-axis is number of shares (in percentage of difficulty), y-axis is number of occurances (summing over windows of 10000 shares).

The results differ slightly, most significantly at around 0.
Starlightbreaker
Legendary
*
Offline Offline

Activity: 1764
Merit: 1006



View Profile
August 15, 2011, 03:10:36 PM
 #3574

back to good ol' bithopper, after done having fun with ixcoin.

look at the new changes.
niiiiiiice.

organofcorti
Donator
Legendary
*
Offline Offline

Activity: 2058
Merit: 1007


Poor impulse control.


View Profile WWW
August 15, 2011, 03:15:02 PM
 #3575

You can't use anything that will provide a uniform random distribution. It has to be at least a binomially distributed random, and at best a time-distributed fractional poisson distribution.

I'm using the built in poisson distribution randomiser built into R with some jiggery pokery to make it a poisson time-distributed random(really share based) instead of the standard poisson distribution http://stat.ethz.ch/R-manual/R-patched/library/stats/html/Poisson.html. Ryouiki has a bespoke poisson randomiser built on mersenne twister as a random seeder.

The described method does not result in uniformly distributed pool shares.

Also in case you missed it, Meni replied to you here.

I was responding to deepceleron, not you bb. My response to meni: https://bitcointalk.org/index.php?topic=36018.msg457483#msg457483

Edit: and now thanks to Meni I've sped up the simulator hugely by generating random numbers directly by using geomtrically distributed random number generator (rgeom) instead of using rpois and then a 'find block' loop.

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

Activity: 1428
Merit: 1000


View Profile
August 15, 2011, 04:07:30 PM
 #3576

the owner of abcpool just let us know not to use them atm:
https://bitcointalk.org/index.php?topic=33586.msg457579#msg457579

there are problems with counting invalids (you get your payment though), but for them bh behaves a little dos-sing.

we don't know why yet; but we'll see. after that: it seems to be a really good pps pool as a backup
cirz8
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
August 15, 2011, 05:03:54 PM
 #3577

I think I have read about the "DoS-like appearance" in some other thread before, can't remember where though.
But I don't think I have seen invalid shares being part of it, aggressive pulling/getwork I think it was when I read about it before.

The big question, is the massive amount of invalid shares only occurring on the ABCpool?
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476
Merit: 250


moOo


View Profile
August 15, 2011, 05:06:06 PM
 #3578

Quote
back to good ol' bithopper, after done having fun with ixcoin.
need to add IOcoin support.. next.

mooo for rent
hawks5999
Full Member
***
Offline Offline

Activity: 168
Merit: 100



View Profile WWW
August 15, 2011, 05:07:27 PM
 #3579

the owner of abcpool just let us know not to use them atm:
https://bitcointalk.org/index.php?topic=33586.msg457579#msg457579

there are problems with counting invalids (you get your payment though), but for them bh behaves a little dos-sing.

we don't know why yet; but we'll see. after that: it seems to be a really good pps pool as a backup

Backup? We don't need no steenking backup!

Tongue  Grin

■ ▄▄▄
■ ███
■ ■  ■               
LEDGER  WALLET    ████
■■■ ORDER NOW! ■■■
              LEDGER WALLET
Smartcard security for your BTCitcoins
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■
Decentralized. Open. Secure.
flower1024
Legendary
*
Offline Offline

Activity: 1428
Merit: 1000


View Profile
August 15, 2011, 05:09:17 PM
 #3580

I think I have read about the "DoS-like appearance" in some other thread before, can't remember where though.
But I don't think I have seen invalid shares being part of it, aggressive pulling/getwork I think it was when I read about it before.

The big question, is the massive amount of invalid shares only occurring on the ABCpool?

i saw two differences with abcpool to other pools:

abcpool is lagging out very fast (only with bh)
and my hashrate has gone crazy (but seems feasible if they are counting invalids for their hashrate calculation)

i do think it is about bh's delag call; but i dont know how yet. it seems to be identic to a normal getwork. the delag calls are send every ten seconds; and thats really not much.
Pages: « 1 ... 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 [179] 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 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!