<oembed><type>rich</type><version>1.0</version><author_name>npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx</author_name><author_url>https://nostr.ae/npub1zw7cc8z78v6s3grujfvcv3ckpvg6kr0w7nz9yzvwyglyg0qu5sjsqhkhpx</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2020-04-27&#xA;📝 Original message:&#xA;&#34;David A. Harding via bitcoin-dev&#34; &lt;bitcoin-dev at lists.linuxfoundation.org&gt; writes:&#xA;&gt; To avoid the excessive wasting of bandwidth.  Bitcoin Core&#39;s defaults&#xA;&gt; require each replacement pay a feerate of 10 nBTC/vbyte over an existing&#xA;&gt; transaction or package, and the defaults also allow transactions or&#xA;&gt; packages up to 100,000 vbytes in size (~400,000 bytes).  So, without&#xA;&gt; enforcement of BIP125 rule 3, an attacker starting at the minimum&#xA;&gt; default relay fee also of 10 nBTC/vbyte could do the following:&#xA;&gt;&#xA;&gt; - Create a ~400,000 bytes tx with feerate of 10 nBTC/vbyte (1 mBTC total&#xA;&gt;   fee)&#xA;&gt;&#xA;&gt; - Replace that transaction with 400,000 new bytes at a feerate of 20&#xA;&gt;   nBTC/vbyte (2 mBTC total fee)&#xA;&gt;&#xA;&gt; - Perform 998 additional replacements, each increasing the feerate by 10&#xA;&gt;   nBTC/vbyte and the total fee by 1 mBTC, using a total of 400 megabytes&#xA;&gt;   (including the original transaction and first replacement) to&#xA;&gt;   ultimately produce a transaction with a feerate of 10,000 nBTC/vbyte&#xA;&gt;   (1 BTC total fee)&#xA;&gt;&#xA;&gt; - Perform one final replacement of the latest 400,000 byte transaction&#xA;&gt;   with a ~200-byte (~150 vbyte) 1-in, 1-out P2WPKH transaction that pays&#xA;&gt;   a feerate of 10,010 nBTC/vbyte (1.5 mBTC total fee)&#xA;&#xA;To be fair, if the feerate you want is 100x the minimum permitted, you&#xA;can always use 100x as much bandwidth as necessary without extra cost.&#xA;If everyone (or some major tx producers) were to do that, it would suck.&#xA;&#xA;To fix this properly, you really need to agressively delay processing&#xA;(thus propagation) of transactions which aren&#39;t likely to be in the next&#xA;(few?) blocks.  This is a more miner incentive compatible scheme.&#xA;&#xA;However, I realize this is a complete rewrite of bitcoind&#39;s logic, and&#xA;I&#39;m not volunteering to do it!&#xA;&#xA;Cheers,&#xA;Rusty,</html></oembed>