Bitcoin Forum
January 22, 2022, 09:51:52 AM *
News: Latest Bitcoin Core release: 22.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 »
1  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: August 15, 2011, 01:42:30 PM
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
2  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: August 14, 2011, 08:48:51 PM
What the graphs show is that for a large number of alternative pools what you gain in efficiency per share for hopping earlier, you lose on the PPS back up. The efficiency remains constant because as you increase the hop off point you don't need to hop to back up and go for 1.0 efficiency anymore. Did your sim include a PPS backup, or just look at per share efficiency?

I'd love you to post your graphs so we can get a side by side comparison.

My simulator has PPS backup pool that pays constant BTC for each share.
My interpretation : PPS pool barely touched, when we have more proportional pools. (so, threshold becomes less meaningful, however it does not imply share from >43% proportional pool has greater profit expectation than pps)

I think we have same shaped graphs. Smiley
3  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: August 14, 2011, 01:31:31 AM
I got almost the same graph of @organofcorti two weeks ago. (from my own open-sourced simulator)
However, 100% agree with @deepceleron

When we have more proportional pools, efficiency doesn't 'seem' to be decaying because we have more chance to hop into < 43% pool all the time.
Earlier share is always more profittable, slicing reduces profit in the long time, and a share from > 43% pool is less profittable than a share from pps pool.
4  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 28, 2011, 07:39:54 AM

Do you have a json api url that would be easier on the servers? With maybe a faster refresh?

http://www.unitedminers.com/?action=api

If you need more info then provided let me know. I just added valid shares to that JSON by request and I can add more if need be.

Thanks for the api.
Pool speed(by MHash/s) and (current) round duration in seconds would be useful.
5  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 26, 2011, 06:52:23 PM
Nice to know... which fork do you think has the most promise? I'm divided where I should do some of my hacking...

I tried Ryouiki's latest changes and just based on a few hours of mining, the dynamic penalty thing isn't working out too well for me. Stays on a pool too long in some cases...

agreed. Need a "Use Dynamic Penalty []" option somewhere.

from my tests,

- round time based selection enhances efficiency ~10%
- multi-pass selection enhances efficiency ~ 15%
- dynamic penalty : ~2%

efficiency gain with dynamic penalty is marginal, but I think it is worth.
btw, current fork is tuned to find maximal profit without hopping frequently
i plan to research more aggressive (frequent) hopping algorithms next week.
6  Local / 한국어 (Korean) / Re: Korean!!!! on: July 25, 2011, 06:42:49 AM

요즘 hopping 하는것을 방지 하기 위해서 일부러 block status 를 1시간 정도 지연하여 알려주는것 같더군요.

이런 상황에서도 가능한건가요??

지연하여 알려주지 않는곳은 hash rate가 너무 떨어져서 오히려 더 큰 손해를 보게 되더군요.
하루에 들어오는 양이 불규칙하고 심지어 하루에 1BTC도 안나오는 경우가.. -_-;;

말씀하신대로 stat을 지연해서 알려주는 deepbit이나, BTC Guild 같은 곳에서는 사용할 수 없습니다 -_-;
PPLNS 방식의 pool에서도 사용할 수 없고요..

하지만, 아직 사용할 수 있는 많은 다른 pool들이 있다보니, 바로바로 payout 하고 싶은 욕망만 제어할 수 있다면 쓸만합니다.

실제 성적을 뽑아보니 저는 평균 두 배 정도 효율이었습니다.
7  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 22, 2011, 08:53:48 AM
latest Mod fully supports NameCoin pools
added BitParking and NameBit



if you feel lucky, now you can donate NMC to me Grin
8  Local / 한국어 (Korean) / Re: Korean!!!! on: July 22, 2011, 06:06:21 AM

여기서도 뵙게 되는군요. ^^

bithopper 수정중이신가 보네요.

쓸만한가요??

어차피 share되는 비율에 따라서 보상이 지급되는 형태라 hopping을 해도 이익을 볼수 있을거 같지 않은데,

어떤식으로 이익을 얻게 되는지 궁금합니다.

PPS 방식이면 각 share 마다 보상을 주니, 이득이 일정합니다만

proportional 방식의 경우, 라운드가 일찍 끝날 수록 시간당 이득이 (당연히) 많겠지요.

그래서, 라운드가 막 시작되는 pool 로 hopping 한 뒤
일찍 안끝나면, 다른 막 시작되는 pool로 다시 hopping하는 것이 기본 원리입니다.

difficulty 43.5% 시점에서 PPS 풀로 hopping 하는 방식만으로도 평균 25% 가량 이득을 볼 수 있고요
(수학적으로 계산해둔 페이퍼가 있더군요 ㅎㅎ)

여러 proportional pool 사이에서 hopping 하면 두 배 가까이 이득을 볼 수 있습니다.
9  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 09:23:47 PM
latest mod :
added deepbit with fixed round share value (difficulty * 0.431) and penalty 3
added BitParking ('role':'removefromlist' as default)
10  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 04:23:10 PM

Bit unrelated to recent discussions but have you figured out what bitcoinpool is doing to their shares yet, or atleast which shares to work from. json shares looks more realistic but it seems they payout based on the website shares/elapsedtime and those stats are totally out of wack.

Also this is prob more directed to c00w/flower/ryo, any idea yet how to capture the counting current round_shares for x8s ?

http://www.bitcoinpool.com/forum/viewtopic.php?f=1&t=103

they say, they would reduce our earning based on mining time window.
in fact, we can beat this kind of algorithm with forced (scheduled) hopping

as for x8s, they added json yesterday.
recent main branch of my fork may work on x8s, but not tested yet..

Code:
               'x8s':{ 'name': 'btc.x8s.de',
                    'mine_address': 'pit.x8s.de:8337', 'user': x8s_user, 'pass': x8s_pass,
                    'api_address':'http://btc.x8s.de/api/global.json', 'role':'disable'},

Code:
   def x8s_sharesResponse(self, response):
        round_shares = int(json.loads(response)['round_shares'])
        self.UpdateShares('x8s',round_shares)

Code:
           'x8s':self.x8s_sharesResponse,
11  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 04:00:37 PM
i hope u are mining on bitcoins.lc guys ....


@ryouiki i cant disable manually ars ffs

in the latest version (master branch), you can manually remove ars ( 'role':'removefromlist' ) by modifying pool.py
12  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 03:23:13 PM
did bitclockers get completely disabled in the latest test build, ryouiki?

i'd removed bitclockers on 2e5188.. build (4 hours ago) by mistake
bitclockers is back after f7a2a2.. build (2 hours ago)

edit : oops, test branch is not fixed yet.. i'll fix it asap fixed. thanks
13  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 03:09:52 PM
For pools that don't show round shares, but show duration and hashrate, we can estimate the # of shares:

Total_Hash/s = (((Current_Shares - Shares_Before_Delta) * 2^32) / Delta)

Assume we compare from the start of the round, so
Total_Hash/s = ((Current_Shares) * 2^32)) / Round_Duration
Current_Shares = Total_Hash/s * Round_Duration / 2^32

And then apply some factor to during depending on stats delay...

Thoughts?


the estimator is already implemented in my bitHopper mod (for btcg), but it don't work good because the estimation is always based on ~1 hour delay.

you can try (just enable btcg) but you will be dissapointed with real earning Sad
14  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 11:24:06 AM

Wanna add the code to your git code Smiley

test branch has it
15  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 10:11:55 AM
dunno bout checking user-agent, ive assigned a specific browser proper user-agent and still get wrong stats from bitcoins.lc/stats page

Cant we use the stats.json page to read the shares ?

yes. their stats.json works fine (for web browser and my test build of bitHopper Mod)
16  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 09:57:57 AM

Some regex code would be nice to read from the actual stats page(these seem to add up correctly), I have no idea where there current share stats come from since I cant find the bithopper reported shares on the website.

That said, is there any reason yet not to hop bitcoins.lc ?

bclc checks user-agent string and give real data for Web browser, fake data for hopper proxy

sure, we can fake user-agent string to get real data but they will fake again..
this is endless.
17  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 05:45:18 AM
thanks, hawks5999

i've been doing this for my own purpose (studying python, git) and fun.
btw, i must go back to my daytime job for a while  Cry
fortunately, current version looks stable for casual use

I really appreciate to c00w and flower for foundation codes
18  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 05:03:01 AM
latest version will display pool speeds
because, it is estimated speed based on round share trend, it may be different from the speed value provided by pool

19  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 03:35:05 AM
in the latest version you can enable/disable pool interactively



however, enabling not implemented pools like x8s will cause error
try at your own risk  Wink
20  Bitcoin / Mining software (miners) / Re: bitHopper: Python Pool Hopper Proxy on: July 20, 2011, 02:38:17 AM
Having a little problem when I try to access the stats. I get the message

Code:
web.Server Traceback (most recent call last):

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

Using latest version of ryouiki's fork

possible cause

1. index.html is not there (same directory as bitHopper.py)
2. working (current) directory is not the correct
3. do not have permission to read file

in case of 2.
modify this line to point the absolute path
Code:
file = open('index.html', 'r')
as
Code:
file = open('/root/dev/blahblah/index.html', 'r')
Pages: [1] 2 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!