2
As you all know it's not very secure to send bitcoins on known addresses, some bots are watching. Could someone explain me how these bots manage to propagate several transactions of the very same transaction output in the network (ex https://blockchain.info/fr/address/1HZwkjkeaoZfTSaJxDw6aKkxp45agDiEzN) It appears there is a competition between at least 3 bots on the previous address.
For fun, I try to code a C# app building+broadcasting transaction as soon as bitcoins are received on the watched address. No chance at all. Bitcoind/blockchaininfo says this output is already spent (only 2 s after receiving it). So if there is a mechanism which prevents to add multiple transactions on the same output (before any confirmation), how did current bots do that (1LdUHTEVxWJhrhKfy4H3VuYDnTHQVjsdBn && 1aa8hSJaxa2jKFtuBYp8VBsFNofsnoBHX)???
And it seems that 1LdUHTEVxWJhrhKfy4H3VuYDnTHQVjsdBn is almost always the winner!
Ok. But why it is not possible anymore to propagate a transaction after 2s (after receivig notification of the output) even if none of the bots' transaction have any confirmations??? It should be possible to propagate tenth, hundred of transactions to the networks before a confirmation is obtained for one of them and only the fastest will win, no? – Eric – 2015-02-09T20:52:03.983
1The first confirmation will win, but before that happens, the tx goes into the mempool of each node. The first tx to get into the mempool will win for that node since every other one is a double-spend and will be rejected by the node and not propagated. – Jimmy Song – 2015-02-09T20:54:58.200