<div dir="ltr">From what I know, Alice does not know to which node Bob will broadcast the transaction. Therefore, Alice cannot intercept the transaction and prevent the rest of the network from seeing it.<div><br></div><div>
Toshi</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 6, 2014 at 3:02 PM, Raúl Martínez <span dir="ltr">&lt;<a href="mailto:rme@i-rme.es" target="_blank">rme@i-rme.es</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I dont know if this attack is even possible, it came to my mind and I will try to explain it as good as possible.<div>
<br></div><div>Some transacions keep unconfirmed forever and finally they are purged by Bitcoin nodes, mostly due to the lack of fees.</div>

<div><br></div><div><br></div><div>Example:</div><div>---------</div><div><br></div><div>Alice is selling a pizza to Bob, Bob is now making the payment with Bitcoin.</div><div>The main goal of this attack is to store a unconfirmed transaction send by Bob for a few days (it will not be included in the blockchain because it has no fee or due to other reason), Bob might resend the payment or might just cancel the deal with Alice.</div>


<div><br></div><div>Bob forgets about that failed trade but a couple of days later, Alice, who has stored the signed transacion, relays the transaction to the network (or mines it directly with his own hashpower).</div><div>


Bob does not know what is happening, he believed that that transaction was &quot;canceled forever&quot;, he even does not remember the failed pizza deal.</div><div><br></div><div>Alice has now the bitcoins and Bob does not know what happened with his money.</div>


<div><br></div><div>---------</div><div><br></div><div>This might also work with the Payment Protocol because when using it Bob does not relay the transaction to the network, its Alices job to do it, Alice stores it and tells Bob to resend the payment, Bob creates another transaction (If has the same inputs as the first TX this does not work) (this one is relayed by Alice to the network).</div>


<div><br></div><div>Alice comes back a couple of days later and mines with his hashrate the first transaction (the one she didnt relayed to the network).</div><div><br></div><div>Alice now has two payments, Bob does not know what happened.</div>


<div><br></div><div><br></div><div>-----------</div><div><br></div><div>I hope that I explained well this possible attack, I dont know if there is already a fix for this problem or if it is simply impossible to execute this kind of attack.</div>


<div><br></div><div>Thanks for your time.</div><div><br></div><div><br></div><div><br></div><div><br></div></div>
<br>------------------------------------------------------------------------------<br>
Learn Graph Databases - Download FREE O&#39;Reilly Book<br>
&quot;Graph Databases&quot; is the definitive new guide to graph databases and their<br>
applications. Written by three acclaimed leaders in the field,<br>
this first edition is now available. Download your free book today!<br>
<a href="http://p.sf.net/sfu/NeoTech" target="_blank">http://p.sf.net/sfu/NeoTech</a><br>_______________________________________________<br>
Bitcoin-development mailing list<br>
<a href="mailto:Bitcoin-development@lists.sourceforge.net">Bitcoin-development@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/bitcoin-development" target="_blank">https://lists.sourceforge.net/lists/listinfo/bitcoin-development</a><br>
<br></blockquote></div><br></div>