<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-08&#xA;📝 Original message:Dave Hudson via bitcoin-dev [bitcoin-dev at lists.linuxfoundation.org] wrote:&#xA;&gt; I think the biggest question here would be how would the difficulty&#xA;&gt; retargeting be changed?  Without seeing the algorithm proposal it&#39;s difficult&#xA;&gt; to assess the impact that it would have, but my intuition is that this is&#xA;&gt; likely to be problematic.&#xA;&#xA;I have no comment on whether this will be *needed* but there&#39;s a simple&#xA;algorithm that I haven&#39;t seen any coin adopt, that I think needs to be: the&#xA;critically damped harmonic oscillator:&#xA;&#xA;    http://mathworld.wolfram.com/CriticallyDampedSimpleHarmonicMotion.html&#xA;&#xA;In dynamical systems one does a derivative expansion.  Here we want to find the&#xA;first and second derivatives (in time) of the hashrate.  These can be determined&#xA;by a method of finite differences, or fancier algorithms which use a quadratic&#xA;or quartic polynomial approximation.  Two derivatives are generally all that is&#xA;needed, and the resulting dynamical system is a damped harmonic oscillator.  &#xA;&#xA;A damped harmonic oscillator is basically how your car&#39;s shock absorbers work.&#xA;The relevant differential equation has two parameters: the oscillation frequency&#xA;and damping factor.  The maximum oscillation frequency is the block rate.  Any&#xA;oscillation faster than the block rate cannot be measured by block times.  The&#xA;damping rate is an exponential decay and for critical damping is twice the&#xA;oscillation frequency.&#xA;&#xA;So, this is a zero parameter, optimal damping solution for a varying hashrate.&#xA;This is inherently a numeric approximation solution to a differential equation,&#xA;so questions of approximations for the hashrate enter, but that&#39;s all.  Weak&#xA;block proposals will be able to get better approximations to the hashrate.&#xA;&#xA;If solving this problem is deemed desirable, I can put some time into this, or&#xA;direct others as to how to go about it.&#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>