Bitcoin Forum
May 25, 2024, 08:39:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 146 [147] 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 »
2921  Bitcoin / Pools / Re: Continuum Mining Pool: NO fees, client monitors via email and twitter on: May 30, 2011, 10:59:16 AM
Do you aggregate payouts from the same IP? I have 6 poclbm instances running on two machines, each with a different address, and it seems I got to one of the addresses the rewards for all.
2922  Bitcoin / Pools / Re: Does pool hopping really work? on: May 30, 2011, 04:18:51 AM
That's right, you jump to the shares-based pool with the presently lowest round_time/mean_round_time fraction, or score-based pool if none are below 43% fraction. The switching takes only a second and is not a problem. I use a script to query the pools periodically/whenever bitcoind reports a new block and redirect the miners as necessary. This also simultaneously solves the unplanned pool downtime issue. Interestingly, bitcoind always reports new blocks at the same time as pools pushing new longpoll work, or no more than 10 seconds apart. Since the daemon and the miners use entirely different connections, that means transactions/block solutions are being propagated across the entire bitcoin network within 10 seconds or less on average.
isn't it better to stay with a pool until 43%, rather than switching to the lowest % pool? the graph in Raulo's paper shows that leaving before 43% carries a steep penalty.
Raulo discusses the case of one proportional pool, when the choice is to switch from it to solo/score-based.

You all need to remember there isn't a magical tooth fairy that comes and gives you monies when you do the act of switching pools. It's all a matter of finding the expected payout right now for every pool and going with the one for which it is highest. For proportional pools the payout is determined strictly as a decreasing function of the current round age. For >43.5% it becomes less than solo/score.
2923  Bitcoin / Pools / Re: Cooperative mining (500Ghash/s) on: May 29, 2011, 07:36:27 PM
Solo mining was becoming annoying without proper hasing power.
What do you think is good hashing power to go solo? over 1gh?
Those beautiful days you could mine solo at 1GH/s will never return.
At the current difficulty, I'd say you need at least 5GH/s to think about it.
In other words, you should probably stop thinking about it.
2924  Bitcoin / Mining / Re: New cheat-proof mining pool scoring method on: May 29, 2011, 07:20:02 PM
Ouch, you've done this wrong. In my specification I meant that the scores for existing shares will remain the same, while the variable s that specifies what will be the score for new shares decreases (multiplied by p2/p1). Equivalently, since it's all relative, you could fix s and multiply all scores by p1/p2. But what you've done has two problems:
1. You've multiplied existing scores by p2/p1 instead of p1/p2.
2. Since you don't keep s as a separate variable but rather read it from the shares table, you have scaled both the existing shares and the new shares, so the difficulty fix will actually have no effect whatsoever.
Basically what you want is that the score for the first share submitted after the difficulty change will be multiplied by p2/p1. Then proceed as normal, each share will reference the last one and it will be ok. I don't know what's the DB-friendly way to do that.

Once you show me your solution, I'll adapt it to log scale.
Ok, I've refactored the PLPG functions. Now storing r and lastscore in round tbl so difficulty change can just update round set lastscore=lastscore*(p2/p1) and the next insert should do the right thing.
Good. To convert to log scale:
1. Instead of storing r and lastscore, store lr = log(r) and lastlscore = the lscore of the last submitted share.
2. On difficulty change, update round set lastlscore=lastlscore+log(p2/p1).

I assume you want to find the balance mid-round? The above will give you what would be the reward if the round ended now. I think it will be more useful to know what is the expected reward. This requires a small tweak, let me know if you are interested in it.
Sure, that would probably be a more useful measure.
In fact it's arguably even simpler. For this you don't need to keep ltotalscore. To find the expected payout of a worker for the current round, do

select (1-rd.f)*(1-rd.c)*p*rd.b*sum(exp(lscore-lastlscore))

p should be calculated based on the current difficulty.
2925  Other / Meta / Re: I keep looking for the 'Like' button. on: May 29, 2011, 04:29:50 PM
That's basically what signature addresses are for, though they work on the user level and not post level.
2926  Bitcoin / Bitcoin Discussion / Re: Sent to wrong address; how did I do this? on: May 29, 2011, 02:11:59 PM
Bitcoin addresses are self-consistent.  They include four (I think) bytes of checksum as well as the public key.  That means it's unlikely to be able to mistype a valid address.

It was this property that made me so confused; I just couldn't work out where I'd gotten a valid address from.

Perhaps a man in the middle attack. While using the internet (even TOR) the website page could have been altered on its way to you. Someone could have been looking for Bitcoin addresses on its way to you and altered it with their own hoping you'll send to the wrong address.
Ah -- I see; you mean I was being scammed rather I was scamming?  I never even thought of that possibility.
That too, but I don't think that's what dikidera talked about. The fact that you link to a transaction in BE doesn't prove you made it (you can just go over a block and pick a random transaction). The correct counterargument to the possibility you might be scamming is that if you were not the sender, you would have no way of knowing that the receiver will be surprised by the transaction.
2927  Bitcoin / Mining / Re: two questions on: May 29, 2011, 12:35:41 PM
I just wanted to know if it is safe to uninstall and delete everything,
after i have stored (and encripted) wallet.dat somewhere.

thanx for reply...
Yes, you can delete everything as long as you have a copy of wallet.dat somewhere.
2928  Bitcoin / Mining / Re: two questions on: May 29, 2011, 12:31:19 PM
I think that GPUs aren't very good for chess and that the popular chess software do not use them.
A search brought up this blog about developing a GPU chess software.
2929  Bitcoin / Pools / Re: Does pool hopping really work? on: May 29, 2011, 11:54:13 AM
I just wonder how you realized your pool hopping method (manual might be interesting for a short time, but is not really feasible).

Also how to decide in reality to which pool to jump - imagine mining still in the 43% margin of pool 1 but then pool 2 finds a share. Should you then jump to pool 2 or mine until 43% on pool 1 and risk not having a pool to immediately jump to?

So in the end: Is it smarter to hop off as early as possible or as late as possible? Could/should it be weighted somewhere in between?

I bet you get also tons of PMs now! Cheesy
In the simplest model, you always want to mine for the pool with the least shares in the current round.
So if your current pool has 30% and some other pool has 0% or 10%, you hop.
The next step is to take into account the time wasted reconnecting to a new pool. If the difference is very small it is generally better to stay.
It will probably be beneficial to have several miners pointed at different pools with similar age.
Thus goes the theory, anon will have to discuss how he implemented this.
2930  Bitcoin / Pools / Re: Does pool hopping really work? on: May 29, 2011, 08:25:58 AM
If it weren't for the block withholding attacks, PPS might be more popular (and less expensive).
Perhaps I should mention that I had suggested a protocol change that would make this attack impossible?

You have to realize that any argument that follows that script is lost, right?

Especially when you are responding to someone who actually demonstrated way above average understanding of pooled mining payout methods.  Think about how it looks from the perspective of miners who don't understand these things half as well as "anon4758," and you will understand why people like proportional.
Point taken, but I'm not sure participants necessarily have to know the details of the scoring method, any more than they need to know what hashing is or how the block chain works. I think also with some charts and graphs we can make it easier to understand.


@slush - The geometric method has two advantages:
1. Score fee - Using this, the pool is at a steady state where the past is always the same. In your pool you do not use a score fee, so very early in the round shares submitted compete with less existing shares, increasing payout. After a while it converges to a steady state. Shortening the time constant speeds up convergence and thus improves hopping-resilience, but adds variance to miners. By the way, the time constant should be proportional to the average time of finding blocks to maintain a specific tradeoff.
2. Share-base decay - Your pool uses time-based decay, which creates several quirks and attack vectors. For example, if the hashrate of the pool fluctuates and is currently more than average, the expected time to round completion (and hence, the expected depreciation of shares submitted now) decreases and it's more profitable to join.
PS. You promised a while back that you would look at my suggested method.

@anon4758 - Can you share with us, do you also post on this forum regularly under a different identity? (Obviously I don't expect you to say what that identity is.)
2931  Bitcoin / Pools / Re: Does pool hopping really work? on: May 29, 2011, 06:39:49 AM
@anon4758 - this is some very useful info, thanks for sharing!

Pool hopping is not cheating - it is optimizing. It is the responsibility of pool operators to implement algorithms that are fair. I'd think of all people, cypherpunks like bitcoin miners would be the first ones to recognize this fact. If you place all your trust into math, don't suddenly complain about fairness if your math turns out to not be good enough.
I generally agree, I mentioned elsewhere that I don't have a beef with hoppers, rather with operators of proportional pools.

Hopping away from a single pool (at 43% of mean round time) earns 30% more. Hopping between a couple pools (I have 4 currently automated) earns me 70% more. If you'd automate a dozen pools, you could earn more than 100% extra.
In the theoretical limit of infinitely many proportional pools and perfect hopping, I think you get log(difficulty) times normal, which currently is X13, or 1200% extra.

Slush's pool is not secure because he messed up his algorithm. I earn 20% more on his pool. Deepbit pool is not secure, because they got a large market share.
I know, slush's has several flaws which is why I devised my method which I named the "geometric method".
Surely you don't get a lot of volume on slush with this profit?

What I want to happen is for pool miners to implement mathematically-fair payment algorithms. This is the solution best for the community in the end, but not manually enforcing no-hopping rules or withholding information. There is a complicated score-based algorithm published somewhere on this forum (not slush's algorithm) that seems secure, though I didn't check it in too much detail.
You're probably referring to the geometric method. But hey, it's not complicated at all. Most of the post is just analysis of its various features.

There is a much simpler fair algorithm though, which I want you to confirm: pay for all shares submitted in the last 1 hour of a round. If a block is found sooner than 1 hour into a round, then rollover the extra time and pay for the unpaid shares of the previous round, or the previous round before that (if the previous round was shorter than an hour as well), and so on. This way, each share has equal expected utility regardless of when it is submitted - early on or late in a round. Late shares in long rounds are subsidized by early shares in short rounds. You can use any time interval shorter than the mean round time. I'd recommend 1/4 of the mean time, e.g. 1 hour for a 130GHash/s pool.
Even if this works (which I'll try to look at at some point) it seems much more complicated.


Because in most cases variance is less important than expectation

It seems hard to make that argument in this context.  If people wanted to maximize expectation, they would just solo-mine and avoid pool fees, pool downtime, stale shares, etc.  In most cases the variance is extremely "large" but in absolute terms the amount of money involved for a hobby miner is small enough that it doesn't really matter.  

I will grant that many hobby-scale miners don't understand this and don't act that way in practice.
The huge variance of solo mining is under the scope of the "other cases". But once you cut down, say, 99% of the variance with a score pool, there's not much point in decreasing it further.

Quote
and because the variance of score-based is not that high

True.  But still you are ignoring mental accounting costs.  People like equal shares because they are simple and easy to understand.  If you are hoping for pool participants to understand game theoretic indifference, you're going to be disappointed.  The constant push back (even if mathematically incorrect) over score-based pools being "unfair" should be ample illustration of this.
Right, but if they want to go for "simple and understood", why not PPS? It has the least variance, it's simplest, and it has higher expectation than worst-case presence of hoppers.
2932  Bitcoin / Mining / Re: Deepbit dropped its PPS payout AGAIN on: May 29, 2011, 04:40:25 AM
Yeah, but Deepbit has dropped their payout from 0.0004 to 0.0001 over the past ~3-4 weeks. That's ridiculous. I can't believe there are so many people on deepbit.
... That's because difficulty increased 4 times in this period. Deepbit doesn't set the payout however they want, they divide the block reward by the difficulty and deduct a constant 10% fee.
2933  Bitcoin / Pools / Re: Does pool hopping really work? on: May 29, 2011, 04:26:03 AM
And if you are lucky, you will be ahead. It all averages out. 
Over many people, not over a single miner!
No. Over a single miner. His expected payout is equal to his contribution. So if he keeps his intermittent mining over a long period of time, his total reward will be close to his total contribution.

Score based mining is imo only useful for pools that have ~5%+ of the network hashrate.
Can you show your calculation why this is so?

so people jumping in don't get screwed over too much due to being late on a profitable round.
I think you're confused about how score-based works. If you join at a time which, in retrospect, is late in the round, you will get more reward. Of course, you don't know beforehand when the round will end, so whenever you join your expectation is the same.
In fact, it is true for proportional pools that if you join late in a round you'll get screwed.

If you have a small pool however where you can expect finished blocks only every few days or so, it might happen that an honest on-off miner might loose out significantly.
Again, it might happens that he has bad luck, but his expectation is equal to his contribution.

Maybe it might be useful to do some calculations which pool is recommendable based on your mining habits ("2 hours/day means you'll need to join a score based pool with at least x% of the network hash rate to minimize initial variance")?
This will depend on greatly on the miner's risk averseness. Because in most cases variance is less important than expectation, and because the variance of score-based is not that high, the best recommendation is to always use score-based.
2934  Bitcoin / Pools / Re: Does pool hopping really work? on: May 28, 2011, 08:14:23 PM
So if i wanted to pool hop, what kind of pool should i hop to? pay per share? proportional? score-based? I'm really interested in "improving" my efficiency as a miner Tongue
You always mine at the proportional pool which has the least shares in the current round. Once all such pools have >43.5% difficulty, you move to a score-based pool like Continuum.

In the end pool hopping is NOT cheating! You do all the work you have to do etc.
To NOT pool hop however harms your income by up to 28%.
Arguing on whether to call it "cheating" or "not cheating" is a red herring.
The facts are:
If one person does it, his payout is greater than his contribution to the pool (or to the Bitcoin network at large), and for others it's less. In this sense he does not do "all the work he has to do".
If everyone does it, all proportional pools freeze and people will mine in score-based / solo anyway.
So why add unfruitful complication by having proportional pools exists in the first place?
2935  Bitcoin / Mining / Re: Mining pool reward math FAQ on: May 28, 2011, 07:56:01 PM
Luke-Jr, you need to remind yourself what mining is about. Mining is trying to find blocks, which secures the network. If you find a block, you receive a reward for your help. More generally, you can perform actions that have a chance of producing blocks and being rewarded for it. Your expected payout for your actions should be equal to your expected contribution (up to fees for any services you are using).

In the more parochial view of a specific mining pool, each share you submit has a chance of being a valid block which will boost the pool's total earnings. Once again, your expected payout must equal your expected contribution.

Compare these scenarios:
BFI_INT : Increases your chance to find a block for the pool, increases your reward from the pool = Good.
Pool-hopping : Does not increase your chance to find a block, increases your reward from the pool = Bad.
[Insert any improvement like better hardware, software, connectivity, LP that increase block-finding rate] : Increases your chance to find a block for the pool, increases your reward from the pool = Good.

Now I'll address your comments from the wiki.

Quote
the geometric method does seem to prevent pool hopping to an extent
This method prevents pool-hopping completely. I have now also posted a proof outline of this.
By pool-hopping I mean: "Using information like a pool's round age or current hashrate, to participate in it only when your expected payout exceeds your expected contribution".

Quote
but also makes the pool operator vulnerable to a similar attack as the PPS model
Depending on the parameters, this method needn't be more vulnerable to this attack than any other.
Incidentally, I had also suggested a protocol change that would make this attack impossible.

Quote
While it is possible that an intermittent miner might even out on a score-based system, he is still penalized when he would join during the early stages of a block. If he know he'll only be able to mine for an hour, why would he join a pool knowing that he's unlikely to be rewarded for it?
Because he knows that if he'll be lucky and a block will be found shortly, his reward will be high. The expectation is the same, but the variance is greater. I have already said that score-based has higher variance. Variance is usually less important than expectation. Variance is not a black box, the significance and exact value of variance can be calculated (for proportional and geometric, anyway. slush's method is a bit amorphous) and generally the variance introduced by score-based is not really worrisome.

Quote
That is, IMO, ridiculous without a clearly well-defined rule by the pool on when it is acceptable to hop/leave.
You are correct, everyone should be free to come and go as they please. Which is why I have never said people shouldn't pool-hop. I said people shouldn't join a proportional pool (because they will earn less than they should if hoppers exist) or operate a proportional pool (because it's promoting a bad option to miners who may not know better).
If people decide that pool-hopping is "not nice" and should be disallowed despite technical feasibility, a good working definition for it is what I gave above.

Quote
With solo mining comes a greater risk than in a pool, so hopping to solo-mining is a fair risk/gain tradeoff.
It's greater risk that doesn't create additional value to anyone, so there's no reason to be rewarded for it.

Quote
Your second point more or less admits that score-based pools in fact "attacking" share-based pools in practice.
As above, I'm not very keen on emotional terms like "cheating" or "attacking", and prefer to focus on actual consequences. Score-based pools allow people to easily use their mining capacity to create blocks for the Bitcoin network, and receive a payout in proportion to their contribution.

Quote
BFI_INT adoption is not needed any more or less than pool hopping on share-based pools.
Nothing is "needed". But adopting BFI_INT adds security to the Bitcoin network (compared to a situation where it exists but ignored by the honest network). Adopting pool-hopping does not add security to the network.

Quote
I agree that it isn't sustainable in the long-run, but it is a legitimate strategy, and within the rights of miners to practice. If pools don't like it (as they shouldn't), it is also reasonable for them to make a rule restricting hopping and/or switch to another scoring method. Complaining about "cheating" when there is no rule won't get anywhere.
See above. I don't oppose hopping, I oppose enabling hopping.
2936  Bitcoin / Mining / Re: New cheat-proof mining pool scoring method on: May 28, 2011, 07:13:33 PM
Don't want to butt in here guys but how does this bit work?

Quote
update share set score=ln(exp((max-score)*(p2/p1)))?
This bit doesn't work (note that martok only asked if it would work). I will soon supply the correct formula.

Isn't that like doing sin(asin(f(x))) or a cos(acos(X))
It is.

... or is it to round the numerical approximation off or some such?
It can have a numerical effect, but only for the worse. It can introduce a small error, and if the exp over/under flows you have a problem.
2937  Bitcoin / Pools / Re: Cooperative mining (500Ghash/s) on: May 27, 2011, 03:54:53 PM
I leave! I will give the BTC
This increase of difficulty on 80 % has made for me unprofitable to continue.
It is ready to give the last 12.41 BTC to the one who will send me 0.1 BTC (I will send on the same address)
1P9q1WhXLs3iKy1aHiCqGcnf7dfJo46oXg
<sarcasm>
As we all know, Bitcoin can't be used unless you mine, so naturally, Groove will want to give away his $107 worth of bitcoins.
</sarcasm>

Note everyone, someone, probably this person, has already tried to pull this stunt under a different username.
2938  Bitcoin / Pools / Re: Continuum Mining Pool: NO fees, client monitors via email and twitter on: May 27, 2011, 03:37:02 PM
Looks like another 2-3 Ghash/s just hopped on board last night (CDT).
I added ~1.5 Ghash/s 5 hours ago. I put my mining where my math is (hey, that's a really nice-sounding paraphrase!)

Detail: I added my 370MH/s personal computer immediately when I found this. But my mining rigs are harder to access and I was busy so I postponed it. Then my personal MB died and this miner was down until I got a replacement. Then the PSU for one of my mining rigs died, so I did some switching hardware around which left my PC unsuitable for mining. But at the same time I switched my mining rigs from slush, which total about 1.9GH/s.

Edit: Hm, I've just checked at http://www.continuumpool.com/ and it reports my mining rate is ~15% lower than what is reported by poclbm. Any idea why this is? (Sorry if this was discussed before and I didn't notice)
2939  Bitcoin / Pools / Re: Optimal pool abuse strategy. Proofs and countermeasures on: May 27, 2011, 02:19:06 PM
luv2drnkbr, I agree with you. Raulo's formulation of "not having contributed if you leave the pool" is incorrect. I have never raised my dissent because the analysis of pool hopping does not depend on it as a premise. It is still a way to benefit on the expense of others in proportional pools, which is unsustainable if done by everyone.

The correct way to view this is to ignore the past, look at the present and see how it affects the future. If I submit a share now, what is the expected benefit to the pool? What is my expected payout? Are they the same? In my scoring method, the contribution and reward are always equal (up to fees). In a proportional pool, the reward is higher than the contribution in young rounds, and lower in old rounds.

On a proportional pool, suppose the current round already has shares twice the difficulty. If you submit a share, what is your expected contribution? You have a probability p=1/difficulty to find a valid block with reward B, so it's pB. What is your expected payout for this share? No matter what happens, you will get less than (pB/2) reward, so the expectation is less than pB/2. So you're better off mining solo which has pB expectation per share.

What if the round is very fresh, say, no shares at all? Your contribution to the pool is still pB. But now you have a probability of p to get the whole reward B to yourself, this contingency alone adds pB to the expectation; probability p(1-p) of getting half the block - since 1-p is quite small, this already puts you at almost 1.5pB; and with probability p(1-p)^2 you get a third, and so on. So your expected payout is roughly log(1/p)pB, which at current difficulty is 13pB. So shares submitted early on will give you a very large expected payout, much more than your fair share for your contribution to the pool.
2940  Bitcoin / Mining / Re: New cheat-proof mining pool scoring method on: May 27, 2011, 02:13:24 PM
I have added a correctness proof outline to the OP.
Pages: « 1 ... 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 146 [147] 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!