<oembed><type>rich</type><version>1.0</version><author_name>npub1ghl954l59wm5pnv8j2y0ymmp6dt70kx2037e06wavfut7gjh68hqdgc6pd</author_name><author_url>https://nostr.ae/npub1ghl954l59wm5pnv8j2y0ymmp6dt70kx2037e06wavfut7gjh68hqdgc6pd</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2018-01-28&#xA;📝 Original message:As you point out, depending on the mempool, sometimes a miner makes more&#xA;fee by including A and B, while other times a miner makes more fee by&#xA;including C (the replacement for A and B) and D (a hypothetical transaction&#xA;that cannot be fit into a block that contains A and B but can be fit into a&#xA;block with C.&#xA;&#xA;So what are we to make of this? Is it better to relay C or better to not&#xA;relay C?&#xA;&#xA;Clearly it is better for the miner if they know about C, because knowing&#xA;about C costs them nothing, but not knowing about C will sometimes result&#xA;in them earning less fees.&#xA;&#xA;Clearly it is better for the people who are creating C for those&#xA;transactions to be mined instead of the more expensive A and B transactions.&#xA;&#xA;Everyone else is better off in that more transactions would get included in&#xA;blocks.&#xA;&#xA;A concern about burdening full nodes with extra transactions to relay that&#xA;may not be more profitable to mine than the transactions they replace is&#xA;still rational -- though intuitively it seems like there would be a limit&#xA;on how many times an attacker could cheaply reorganize transactions into&#xA;something with a higher fee rate.&#xA;&#xA;Perhaps there are also concerns with reconstruction of blocks from compact&#xA;blocks, given that miners would have more decisions to make about which tx&#xA;to include?&#xA;&#xA;&#xA;&#xA;On Sun, Jan 28, 2018 at 12:29 PM, David A. Harding via bitcoin-dev &lt;&#xA;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&#xA;&gt; On Sun, Jan 28, 2018 at 05:43:34PM +0100, Sjors Provoost via bitcoin-dev&#xA;&gt; wrote:&#xA;&gt; &gt; Peter Todd wrote:&#xA;&gt; &gt; &gt; In fact I considered only requiring an increase in fee rate, based on&#xA;&gt; the&#xA;&gt; &gt; &gt; theory that if absolute fee went down, the transaction must be smaller&#xA;&gt; and thus&#xA;&gt; &gt; &gt; miners could overall earn more from the additional transactions they&#xA;&gt; could fit&#xA;&gt; &gt; &gt; into their block. But to do that properly requires considering whether&#xA;&gt; or not&#xA;&gt; &gt; &gt; that&#39;s actually true in the particular state the mempool as a whole&#xA;&gt; happens to&#xA;&gt; &gt; &gt; be in, so I ditched that idea early on for the much simpler criteria&#xA;&gt; of both a&#xA;&gt; &gt; &gt; feerate and absolute fee increase.&#xA;&gt; &gt;&#xA;&gt; &gt; Why would you need to consider the whole mempool?&#xA;&gt;&#xA;&gt; Imagine a miner is only concerned with creating the next block and his&#xA;&gt; mempool currently only has 750,000 vbytes in it.  If two 250-vbyte&#xA;&gt; transactions each paying a feerate of 100 nanobitcoins per vbyte (50k&#xA;&gt; total) are replaced with one 325-vbyte transaction paying a feerate of&#xA;&gt; 120 nBTC (39k total), the miner&#39;s potential income from mining the next&#xA;&gt; block is reduced by 11k nBTC.&#xA;&gt;&#xA;&gt; Moving away from this easily worked example, the problem can still exist&#xA;&gt; even if a miner has enough transactions to fill the next block.  For&#xA;&gt; replacement consideration only by increased feerate to be guaranteed&#xA;&gt; more profitable, one has to assume the mempool contains an effectively&#xA;&gt; continuous distribution of feerates.  That may one day be true of the&#xA;&gt; mempool (it would be good, because it helps keep block production&#xA;&gt; regular sans subsidy) but it&#39;s often not the case these days.&#xA;&gt;&#xA;&gt; -Dave&#xA;&gt;&#xA;&gt; _______________________________________________&#xA;&gt; bitcoin-dev mailing list&#xA;&gt; bitcoin-dev at lists.linuxfoundation.org&#xA;&gt; https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev&#xA;&gt;&#xA;&gt;&#xA;-------------- next part --------------&#xA;An HTML attachment was scrubbed...&#xA;URL: &lt;http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20180128/3c990f38/attachment.html&gt;</html></oembed>