Bitcoin Forum
December 11, 2016, 08:14:43 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
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 333354 times)
bb
Member
**
Offline Offline

Activity: 84


View Profile
August 15, 2011, 02:16:25 AM
 #3561

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.

One situation this does not address is the bit-hopping effect itself. If 100ghash hops on and off 100ghash pools, the early shares will be go by twice as fast, meaning there will be less cheating time than predicted. All pools will spend more time in the > .43 difficulty range; lowering the chance of there being a pool to hop to with share earnings higher than backup.

This should just shift pools (and speeds) around a bit, but doesn't change the outcome.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 15, 2011, 02:18:35 AM
 #3562

Noticed that btcworld.de updates stats omg-slow on their german page.. which keeps giving us that api disable error but they seem to update in near real time on their english page.

Anyways they seem to choose language via javascript..

is there anyway to tell regex to choose english first?

http://btcworld.de/statistics

mooo for rent
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


View Profile
August 15, 2011, 02:30:02 AM
 #3563

hey,

i am the operator of btcserv.net and wanted to let you know that now json stats are available @ http://btcserv.net/json/pool/ .. would be cool if dev team could update/add whatever necessary so the data is fetched from there.

greetings.


Greetings and welcome. Thanks for stopping by, we'll get that fixed right away. Thanks for adding json.

so this

Code:
[btcserv]
name: BTCServ.net
mine_address: btcserv.net:8335
api_address: http://btcserv.net/
api_method:re
api_key:([0-9]+(,[0-9]+)*) shares
api_strip:','
url: https://btcserv.net/user/stats/

should be this

Code:
[btcserv]
name: BTCServ.net
mine_address: btcserv.net:8335
api_address: http://btcserv.net/json/pool/
api_method:json
api_key:valid
url: https://btcserv.net/user/stats/

i think


yeah that works..
and can someone fix this one as well


Code:
[bmunion]
name: BitMinersUnion.org
mine_address: pool.bitminersunion.org:8341
api_address: http://www.bitminersunion.org/stats.php
api_method: re
api_key: Shares this round:([0-9]+)<br/>
url: http://www.bitminersunion.org/

I dont know about the pull requests yet... will figure out soon

mooo for rent
muyoso
Member
**
Offline Offline

Activity: 84



View Profile
August 15, 2011, 02:52:59 AM
 #3564

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.

I drink it up!
r2edu
Member
**
Offline Offline

Activity: 68


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

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..
joulesbeef
Sr. Member
****
Offline Offline

Activity: 476


moOo


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

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



View Profile
August 15, 2011, 03:11:03 AM
 #3567

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


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

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

Activity: 322


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

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


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

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


moOo


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

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: 1960


Poor impulse control.


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

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


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

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
Jr. Member
*
Offline Offline

Activity: 33



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

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

have fun with bitHopper Mod : https://github.com/ryouiki/bitHopper

BTC 17wp2zfxZKeycWt6NKiueVYmYyrciiuq2t    NMC NHUbYCp4u7fTJJLoeBrvMz9fh5X9zsdoEv
hoppers always need a little luck
cirz8
Jr. Member
*
Offline Offline

Activity: 42


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

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

Mandatory?  123ABCcirz8CcieVh9UwThEX2vkoJF33Te
bb
Member
**
Offline Offline

Activity: 84


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

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


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

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: 1204


★Nitrogensports.eu★


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

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

look at the new changes.
niiiiiiice.


           █████████████████     ████████
          █████████████████     ████████
         █████████████████     ████████
        █████████████████     ████████
       ████████              ████████
      ████████              ████████
     ████████     ███████  ████████     ████████
    ████████     █████████████████     ████████
   ████████     █████████████████     ████████
  ████████     █████████████████     ████████
 ████████     █████████████████     ████████
████████     ████████  ███████     ████████
            ████████              ████████
           ████████              ████████
          ████████     █████████████████
         ████████     █████████████████
        ████████     █████████████████
       ████████     █████████████████
▄▄
██
██
██
██
██
██
██
██
██
██     
██
██
▬▬ THE LARGEST & MOST TRUSTED ▬▬
      BITCOIN SPORTSBOOK     
   ▄▄
██
██
██
██
██
██
██
██
██
██     
██
██
             ▄▄▄▄▀▀▀▀▄
     ▄▄▄▄▀▀▀▀        ▀▄▄▄▄           
▄▀▀▀▀                 █   ▀▀▀▀▀▀▀▄▄
█                    ▀▄          █
 █   ▀▌     ██▄        █          █               
 ▀▄        ▐████▄       █        █
  █        ███████▄     ▀▄       █
   █      ▐████▄█████████████████████▄
   ▀▄     ███████▀                  ▀██
    █      ▀█████    ▄▄        ▄▄    ██
     █       ▀███   ████      ████   ██
     ▀▄        ██    ▀▀        ▀▀    ██
      █        ██        ▄██▄        ██
       █       ██        ▀██▀        ██
       ▀▄      ██    ▄▄        ▄▄    ██
        █      ██   ████      ████   ██
         █▄▄▄▄▀██    ▀▀        ▀▀    ██
               ██▄                  ▄██
                ▀████████████████████▀




  CASINO  ●  DICE  ●  POKER   
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
   24 hour Customer Support   

▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


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

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
Hero Member
*****
Offline Offline

Activity: 868


luck is just a share away


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

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
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:  

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!