Bitcoin Forum
June 24, 2024, 06:50:03 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 »
761  Bitcoin / Bitcoin Discussion / Re: Reuters: Our girl, Naomi O'Leary, did it. on: April 03, 2012, 06:45:45 AM
"Him and 3 other traders are looking to invest $300,000 in Bitcoin"

WHO are you?
WHY havent you contacted me?

I saw the same.. potential investors out there, send me an PM. I'm leading an innovative startup that's getting ready for our first round of funding. (Details in private.)
762  Bitcoin / Development & Technical Discussion / Re: Backups in a Multi-sig world on: March 18, 2012, 02:55:14 AM
-- For multi-sig with others, this is where it gets fuzzy.  You do have to backup after every multi-party transaction, because you have no way of identifying your own transactions with any P2SH/OP_EVAL type system, without the other person's addresses.  So that is where the real issue might be.
This is a problem (the big problem I mentioned), but it's only tangentially related to backups. How do you identify transactions that belong to you in the first place? With P2SH multi-sig, the sender knows he is transferring money to you, but there is not sufficient information in the blockchain for you to figure it out. The solution to this problem (say, DHT of P2SH scripts) is also a solution to the backup issue.
763  Bitcoin / Bitcoin Discussion / Re: The Biggest Threat to Bitcoin: The New American NSA Datacenter on: March 18, 2012, 12:33:43 AM
A far more likely use would be a fishnet over GSM-encrypted phone calls in realtime.
764  Bitcoin / Development & Technical Discussion / Re: Backups in a Multi-sig world on: March 18, 2012, 12:29:46 AM
@ShadowOfHarbringer, it depends on how you use P2SH. etotheipi is going a little overboard in that regard. With (currently) standard transactions, you shouldn't need to back up P2SH scripts as those scripts are fully recoverable from your wallet. However there are new types of transactions/crypto protocols on the drawing board would involve both your key and one or more keys not currently in your wallet. The fact that you are involved in that transaction would become opaque with P2SH, and some system would have to be put in place to recover the scripts involved. That is a big problem, but a solvable one.
765  Bitcoin / Development & Technical Discussion / Re: PetaFLOPS and how it relates to Bitcoin on: March 18, 2012, 12:19:43 AM
Comparisons between integer and floating point operations are meaningless.  Not just inaccurate, or merely approximate, but not even in the same universe.

I disagree with that. You can always emulate floating point operations on top of integer operations, or integer operations on top of floating point operations. This places an upper and lower bound on the speed ratio between floating point and integer operations, which is basically independent of the hardware you are using. I don't really know how big the gap is between the upper and lower bound, but at least I can say from experience that emulated floating point can be relatively fast(*).

That's not what's at issue. FLOPS is not, in fact, FLoating Point Operations Per Second but the numeric result of running a very specific, standardized benchmark from the LINPACK codes solving a large, dense system of linear equations. It is a benchmark that is meaningful for most scientific and technical disciplines, but says *nothing* about the ability to crank out SHA-256 hashes.

LINPACK, which is what measures FLOPS, is a test of general-purpose scientific/technical capability. Bitcoin is highly, HIGHLY specialized. Using a measurement of one to derive the other could be off by orders of magnitude, not even in the same ballpark. It's a totally meaningless, apples-to-oranges comparison.
766  Bitcoin / Development & Technical Discussion / Re: Withdrawing BIP 17, and proposing BIP 18; please review patch on: March 17, 2012, 11:53:27 PM
* ShadowOfHarbringer is watching this.
Lol, that sounds so ominous.
767  Bitcoin / Development & Technical Discussion / Re: Backups in a Multi-sig world on: March 14, 2012, 11:54:01 PM
Sure, but you'll lose any donated money that hasn't received enough confirmations to claim yet.
768  Bitcoin / Development & Technical Discussion / Re: Backups in a Multi-sig world on: March 14, 2012, 10:40:17 PM
Not sufficient. What if I send money to you with a return address in case you don't claim it (your-key OR my-key)? The backup won't have my public key, so there's no way to recreate the P2SH hash.
769  Bitcoin / Development & Technical Discussion / Re: Withdrawing BIP 17, and proposing BIP 18; please review patch on: March 14, 2012, 07:16:19 PM
There are some possible scripts whose properties depend on being public. David Schwartz describes one here that achieves anonymous donations/transfers, although it requires new opcodes for the scripting system.

Such a system would not be possible under P2SH.
770  Bitcoin / Development & Technical Discussion / Re: Withdrawing BIP 17, and proposing BIP 18; please review patch on: March 14, 2012, 12:08:09 AM
I just had a few minutes to skip BIP 18, but I like it so far. Is there any reasons we would not want to depreciate the scriptPubKey/scriptSig system? In other words, is there any use case for knowing the actual script ahead of time?
771  Bitcoin / Meetups / Re: Bitcoin Conference 2012- London | ANNOUNCEMENT sponsorship on: March 12, 2012, 05:15:08 PM
I recommend timing the conference to be around the same time as the 25BTC reward reduction. Either shortly before so people can talk preparation, or shortly after (better, IMHO) so people can talk lessons learned.
772  Bitcoin / Development & Technical Discussion / Re: Proof of stake brainstorming on: March 11, 2012, 09:51:25 AM
Mini, instead of having an address represent a pair of keys, what about using the key associated with existing bitcoin addresses to sign a delegation certificate, which basically says "the owner of bitcoin address A approves of any blocks signed with key B". Delegation certificates could even be revoked, obviating the need to transfer money around if the block-verifying key is exposed.

It's a more general solution, doesn't require changing the bitcoin address format, and could be implemented without touching the block chain on an overlay network used by miners.
773  Alternate cryptocurrencies / Mining (Altcoins) / Re: [5.5 GH/s] p2pmining.com - Hybrid private and P2Pool on: March 04, 2012, 07:00:48 AM

The op seems to be on par with the average p2pool stale rate, which is good. I would expect that he could do even better though, if he tweaks his connection settings.

What connection settings could help with the stale rate?  I just updated Bitcoind to 6.0 RC2 which should help.
My knowledge about such things is more theoretical than practical. First of all You'd want to make sure your host/datacenter has a low-latency net connection (co-located close to a backbone would be ideal). Then you'd want to tweak p2pool settings to increase the maximum number of connections, and probably add code if it isn't there already to prioritize both low-latency as well as distant (many-hop) nodes.

As to how you'd actually do that, others might be more knowledgeable. I haven't actually worked with the p2pool codebase yet.
774  Alternate cryptocurrencies / Mining (Altcoins) / Re: [5.5 GH/s] p2pmining.com - Hybrid private and P2Pool on: March 03, 2012, 03:52:39 AM
What's your stale rate?

6.3%, but when mining with p2pool, stalerate doesn't really matter as EVERY miner has lots of stales. You don't even need to put that into the equation.

Well it is a little more complicated than that.

True, but I'm trying to get the point across that it doesn't really matter.
Except that it does. If I'm getting 7.0% stales on my setup, switching to p2pmining at 6.3% would net me 0.2% profit even after his 0.5% fee. Likewise if I can get much lower on my own, the effective fee of using p2pmining would be that much higher. You can think about it this way: your stale rate is money you are losing out on, but everyone is sees a "bonus" equal to the average stale rate. Only if your stale rate is were exactly the same as the average rate would the net effect be zero.

The op seems to be on par with the average p2pool stale rate, which is good. I would expect that he could do even better though, if he tweaks his connection settings.
775  Alternate cryptocurrencies / Mining (Altcoins) / Re: [5.5 GH/s] p2pmining.com - Hybrid private and P2Pool on: March 03, 2012, 01:18:20 AM
What's your stale rate?

EDIT: Sorry, I see that you have that on your website. I should have looked first.
776  Bitcoin / Development & Technical Discussion / Re: Retargeting algorithm -- arithmetic or harmonic mean? on: March 02, 2012, 04:34:54 PM
Thanks gmaxwell, that's the kind of explanation I was looking for. I think I understand Meni's original post now--the harmonic mean is clearly a flawed choice in this case.
777  Bitcoin / Development & Technical Discussion / Re: Retargeting algorithm -- arithmetic or harmonic mean? on: March 02, 2012, 07:25:21 AM
This actually isn't desirable.  In the current system miners have no economic incentive to lie about their timestamps (no marginal gain from doing so), except for the window boundary block, whos permissible times are constrained by the surrounding blocks and the actual time, allowing at most a small one time difficulty shift (assuming the warping bug is fixed).  Including other blocks in the time computation would create an incentive to lie constantly for every miner, and for the same final response time a much larger allowable skew.
That's no different than the incentive in the current system, however. The existing constraint on block header timestamps vs. network time caps the amount of michief that can be done in either case. But with the harmonic mean every miner would have to lie to achieve the same effect as just the miner of the first/last block being dishonest in the arithmetic mean scenario.

This absolutely cannot work. The harmonic expectation of the exponential distribution is 0, so there is no way to retarget using it.

Even if you use a geometric mean or something else that does converge, it will have very high variance causing retargets to be all over the place. Not only that, but an attacker could release blocks with reported timestamp a second after the previous ones, causing a massive drop in the geometric mean and a spike in the difficulty.
Are you talking about continuous difficulty adjustment? Otherwise I'm really not sure where you're coming from. The question in the OP is about a drop-in replacement of the method for determining the average hashrate in bitcoin's once-every-2016th-block difficulty adjustment. I assure you it does work as I have live code doing it right now, and it retargets just fine; it even results in a more accurate adjustment. The harmonic mean, not the arithmetic mean, yields the actual average hashrate for the last N blocks, although the difference between the two is typically very small.

Also, messing with the timestamp of the last block may have some short-term effect, but not so much on the long-term because of the rules for validity of timestamps.
The question is more theoretical than anything. Such mischief would result in at most an increase or decrease in the difficulty by a few percent, and would likely be corrected in the next round anyway. Really I'm asking the question out of a desire to understand: I'm wondering if there is a reason Satoshi decided to use the arithmetic mean (such as preventing an attack or removing incentive for bad behavior), or if it was just a mistake (a very common mistake, to be fair).
778  Bitcoin / Development & Technical Discussion / Re: Retargeting algorithm -- arithmetic or harmonic mean? on: March 01, 2012, 06:30:50 AM
That's actually how I came to thinking about this. I was looking at the retargeting code and got to thinking about how even if the time-warp bug were fixed one might still go about causing mischief by coming up with acausal values for the block header timestamp. Because an arithmetic average is used, all that matters for the difficulty calculation are the endpoints of the retargeting interval--the miners that happen to find the first and last block of an interval are privileged in their ability to affect the difficulty retargeting algorithm by about +/- 2 hours (0.6%) each. If the harmonic mean were used instead, such potential/risk would have been evenly distributed across all blocks. (Additionally, a pool operator with a significant percentage of the global hash rate could further move the difficulty by a few percent by mucking around with all its blocks so as to skew the network time in one direction or the other, but this remains true in either case.)

By not fixing the time warp attack the problem is exacerbated, as otherwise (with the fix in place) an inflation of the perceived difficulty of one retarget interval would have a corresponding deflationary effect on the following round, and vice versa.
779  Bitcoin / Development & Technical Discussion / Retargeting algorithm -- arithmetic or harmonic mean? on: February 29, 2012, 11:09:24 PM
Bitcoin uses a simple arithmetic mean for its retargeting algorithm. But since it's adapting to a change in rate, shouldn't it be using a harmonic mean instead? Of course it is probably way too late to change the algorithm, but wouldn't an arithmetic mean give mine pool operators who fudge timestamps a disproportionate effect?

EDIT: As gmaxwell and Meni Rosenfeld point out, bitcoin is actually measuring the rate parameter of an exponential distribution, for which the arithmetic mean is the proper choice. Also, the harmonic mean could be manipulated by miners via acausal blocks or very short timestamp differences.
780  Bitcoin / Pools / Re: Network latency, stale shares, and p2pool on: February 28, 2012, 09:47:11 PM
Don't worry; your analysis isn't correct.

You've already admitted that P2Pool as a whole has comparable block-finding ability to other pools, so the only thing you could be arguing for is that P2Pool distributes payouts unfairly. It doesn't, because it uses a fair PPLNS based on the amount of work you have in the sharechain.
And I see now that is the other half of the equation that I was missing. PPLNS pays the last N shares of the share chain, so a high stale rate means that shares which do make it into the share chain stay within the PPLNS dividend window for a longer period of time, so that on average it balances out. It's interesting to note though that the two effects are not exactly the same from the perspective of an individual miner: the hit due to stale rate depends on their individual setup, particularly their network and graph connectivity, while the “bonus” due to PPLNS is based on the whole network's average stale rate. In practice well connected miners would be taxing a small but measurable amount from miners that haven't bothered to "fix" their stale ratio.

But that's leaps and bounds different from my claim in the OP, and I apologize for the unintentional (though well-meaning) FUD. I'll update the OP accordingly.
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 [39] 40 41 42 43 44 45 46 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!