{"type":"rich","version":"1.0","author_name":"npub15n7zls4lcps7wksmdctal39neyact74jljgsq86ylkzfn4njk95sv8vrz4","author_url":"https://nostr.ae/npub15n7zls4lcps7wksmdctal39neyact74jljgsq86ylkzfn4njk95sv8vrz4","provider_name":"njump","provider_url":"https://nostr.ae","html":"📅 Original date posted:2016-03-09\n📝 Original message:Dave Hudson [dave at hashingit.com] wrote:\n\u003e A damping-based design would seem like the obvious choice (I can think of a\n\u003e few variations on a theme here, but most are found in the realms of control\n\u003e theory somewhere).  The problem, though, is working working out a timeframe\n\u003e over which to run the derivative calculations.\n\n\u003eFrom a measurement theory perspective this is straightforward.  Each block is a\nmeasurement, and error propagation can be performed to derive an error on the\nderivatives.\n\nThe statistical theory of Bitcoin's block timing is known as a Poisson Point\nProcess: https://en.wikipedia.org/wiki/Poisson_point_process or temporal point\nprocess.  If you google those plus \"estimation\" you'll find a metric shit-ton of\nliterature on how to handle this.\n\n\u003e The problem is the measurement of the hashrate, which is pretty inaccurate at\n\u003e best because even 2016 events isn't really enough (with a completely constant\n\u003e hash rate running indefinitely we'd see difficulty swings of up to +/- 5% even\n\u003e with the current algorithm).  In order to meaningfully react to a major loss\n\u003e of hashing we'd still need to be considering a window of probably 2 weeks.\n\nYou don't want to assume it's constant in order to get a better measurement.\nThe assumption is clearly false.  But, errors can be calculated, and retargeting\ncan take errors into account, because no matter what we'll always be dealing\nwith a finite sample.\n\nPersonally I don't think difficulty target variations are such a big deal, if\nthe algorithm targets that over any long time interval, the average block time\nis 10 min.  Bitcoin's current algorithm fails here, with increasing hashrate (as\nwe have), it issues coins faster than its assumed schedule.\n\n--\nCheers, Bob McElrath\n\n\"For every complex problem, there is a solution that is simple, neat, and wrong.\"\n    -- H. L. Mencken"}
