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