<oembed><type>rich</type><version>1.0</version><author_name>npub1r3san9v5njl6798hvauyu9ntm6r9c7u8s0t65wls58gpfdcvqp5sa48d0u</author_name><author_url>https://nostr.ae/npub1r3san9v5njl6798hvauyu9ntm6r9c7u8s0t65wls58gpfdcvqp5sa48d0u</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2015-05-10&#xA;📝 Original message:I&#39;m on my phone today so I&#39;m somewhat constrained in my reply, but the key&#xA;takeaway is that the proposal is a mechanism for miners to trade subsidy&#xA;for the increased fees of a larger block. Necessarily it only makes sense&#xA;to do so when the marginal fee per KB exceeds the subsidy fee per KB. It&#xA;correspondingly makes sense to use a smaller block size if fees are less&#xA;than subsidy, but note that fees are not uniform and as the block shrinks&#xA;the marginal fee rate goes up..&#xA;&#xA;Limits on both the relative and absolute amount a miner can trade subsidy&#xA;for block size prevent incentive edge cases as well as prevent a sharp&#xA;shock to the current fee-poor economy (by disallowing adjustment below 1MB).&#xA;&#xA;Also the identity transform was used only for didactic purposes. I fully&#xA;expect there to be other, more interesting functions to use.&#xA;On May 10, 2015 3:03 PM, &#34;Thomas Voegtlin&#34; &lt;thomasv at electrum.org&gt; wrote:&#xA;&#xA;&gt; Le 08/05/2015 22:33, Mark Friedenbach a écrit :&#xA;&gt;&#xA;&gt; &gt;   * For each block, the miner is allowed to select a different difficulty&#xA;&gt; &gt; (nBits) within a certain range, e.g. +/- 25% of the expected difficulty,&#xA;&gt; &gt; and this miner-selected difficulty is used for the proof of work check.&#xA;&gt; In&#xA;&gt; &gt; addition to adjusting the hashcash target, selecting a different&#xA;&gt; difficulty&#xA;&gt; &gt; also raises or lowers the maximum block size for that block by a function&#xA;&gt; &gt; of the difference in difficulty. So increasing the difficulty of the&#xA;&gt; block&#xA;&gt; &gt; by an additional 25% raises the block limit for that block from 100% of&#xA;&gt; the&#xA;&gt; &gt; current limit to 125%, and lowering the difficulty by 10% would also&#xA;&gt; lower&#xA;&gt; &gt; the maximum block size for that block from 100% to 90% of the current&#xA;&gt; &gt; limit. For simplicity I will assume a linear identity transform as the&#xA;&gt; &gt; function, but a quadratic or other function with compounding marginal&#xA;&gt; cost&#xA;&gt; &gt; may be preferred.&#xA;&gt; &gt;&#xA;&gt;&#xA;&gt; Sorry but I fail to see how a linear identity transform between block&#xA;&gt; size and difficulty would work.&#xA;&gt;&#xA;&gt; The miner&#39;s reward for finding a block is the sum of subsidy and fees:&#xA;&gt;&#xA;&gt;  R = S + F&#xA;&gt;&#xA;&gt; The probability that the miner will find a block over a time interval is&#xA;&gt; inversely proportional to the difficulty D:&#xA;&gt;&#xA;&gt;  P = K / D&#xA;&gt;&#xA;&gt; where K is a constant that depends on the miner&#39;s hashrate. The expected&#xA;&gt; reward of the miner is:&#xA;&gt;&#xA;&gt;  E = P * R&#xA;&gt;&#xA;&gt; Consider that the miner chooses a new difficulty:&#xA;&gt;&#xA;&gt;  D&#39; = D(1 + x).&#xA;&gt;&#xA;&gt; With a linear identity transform between block size and difficulty, the&#xA;&gt; miner will be allowed to collect fees from a block of size: S&#39;=S(1+x)&#xA;&gt;&#xA;&gt; In the best case, collected will be proportional to block size:&#xA;&gt;&#xA;&gt;  F&#39; = F(1+x)&#xA;&gt;&#xA;&gt; Thus we get:&#xA;&gt;&#xA;&gt;  E&#39; = P&#39; * R&#39; = K/(D(1+x)) * (S + F(1+x))&#xA;&gt;&#xA;&gt;  E&#39; = E - x/(1+x) * S * K / D&#xA;&gt;&#xA;&gt; So with this linear identity transform, increasing block size never&#xA;&gt; increases the miners gain. As long as the subsidy exists, the best&#xA;&gt; strategy for miners is to reduce block size (i.e. to choose x&lt;0).&#xA;&gt;&#xA;&gt;&#xA;&gt; ------------------------------------------------------------------------------&#xA;&gt; One dashboard for servers and applications across Physical-Virtual-Cloud&#xA;&gt; Widest out-of-the-box monitoring support with 50+ applications&#xA;&gt; Performance metrics, stats and reports that give you Actionable Insights&#xA;&gt; Deep dive visibility with transaction tracing using APM Insight.&#xA;&gt; http://ad.doubleclick.net/ddm/clk/290420510;117567292;y&#xA;&gt; _______________________________________________&#xA;&gt; Bitcoin-development mailing list&#xA;&gt; Bitcoin-development at lists.sourceforge.net&#xA;&gt; https://lists.sourceforge.net/lists/listinfo/bitcoin-development&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20150510/5281404f/attachment.html&gt;</html></oembed>