<oembed><type>rich</type><version>1.0</version><author_name>npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_name><author_url>https://nostr.ae/npub1m230cem2yh3mtdzkg32qhj73uytgkyg5ylxsu083n3tpjnajxx4qqa2np2</author_url><provider_name>njump</provider_name><provider_url>https://nostr.ae</provider_url><html>📅 Original date posted:2022-11-07&#xA;📝 Original message:On November 3, 2022 5:06:52 PM AST, yancy via bitcoin-dev &lt;bitcoin-dev at lists.linuxfoundation.org&gt; wrote:&#xA;&gt;&#xA;&gt;AJ/Antoine et al&#xA;&gt;&#xA;&gt;&gt; What should folks wanting to do coinjoins/dualfunding/dlcs/etc do to&#xA;&gt;&gt; solve that problem if they have only opt-in RBF available?&#xA;&gt;&#xA;&gt;Assuming Alice is a well funded advisory, with enough resources to spam the network so that enough nodes see her malicious transaction first, how does full-rbf solve this vs. opt-in rbf?&#xA;&#xA;First of all, to make things clear, remember that the attacks were talking about are aimed at _preventing_ a transaction from getting mined. Alice wants to cheaply broadcast something with low fees that won&#39;t get mined soon (if ever), that prevents a protocol from making forward progress.&#xA;&#xA;With full-rbf, who saw what transaction first doesn&#39;t matter: the higher fee paying transaction will always(*) replace the lower fee one. With opt-in RBF, spamming the network can beat out the alternative.&#xA;&#xA;*) So what&#39;s the catch? Well, due to limitations in today&#39;s mempool implementation, sometimes we can&#39;t fully evaluate which tx pays the higher fee. For example, if Alice spams the network with very _large_ numbers transactions spending that input, the current mempool code doesn&#39;t even try to figure out if a replacement is better.&#xA;&#xA;But those limitations are likely to be fixable. And even right now, without fixing them, Alice still has to use a lot more money to pull off these attacks with full-rbf. So full-rbf definitely improves the situation even if it doesn&#39;t solve the problem completely.</html></oembed>