I heard there is a desktop app today that 'easily double spends 0-conf tx'. Which is it? Is anyone working on a mobile version of this app?

3 Answers 3


Peter Todd wrote [Replace-By-Fee Tools](https://github.com/petertodd/replace-by-fee-tools )

Basic usage:

./double-spend.py <address> <amount>

Creates two transactions in succession. The first pays the specified amount to the specified address. The second double-spends that transaction with a transaction with higher fees, paying only the change address. In addition you can optionally specify that the first transaction additional OP-RETURN, multisig, and "blacklisted" address outputs. Some miners won't accept transactions with these output types; those miners will accept the second double-spend transaction, helping you achieve a succesful double-spend.

  • 1
    Just to clarify in case this is scaring anyone.. this isn't a tool to successfully make a double-spend. This is just a trick/hack that manages in some occasions to get 2 transactions mined that both use the same source coins. One of those transactions will ultimately fail as the miners and block chain come to a consensus. It's easy to detect that this is being attempted but it could fool a human user briefly so if you're buying coins for cash then just wait a couple of minutes!
    – George
    Nov 8, 2014 at 16:05
  • @George AFAIK this fools the current Bitpay implementation / some other payment processors that accept 0-conf transactions.
    – ripper234
    Nov 10, 2014 at 17:14
  • It probably does, or at least temporarily. If you're buying downloadable content you might just get away with it if you're lucky enough for the trick to work in your favour, but if you're ordering a physical product I'm sure BitPay et al have a system in place to prevent fraud.
    – George
    Nov 10, 2014 at 17:33

I strongly doubt if this would work at all. You say you "have heard", just rumours or did you ever see such a thing in action?

Remember, quite some people benefit from spreading FUD like this about Bitcoin.

Many merchants and point of sale Bitcoin acceptants use zero confirmation payments, I've never ever seen or heard of a single case of double-spending.

I guess what such a hypothetical app would do, is send a payment to the node of the receiver, send a conflicting payment to a lot of other nodes almost at the same time, and hope the 2nd one ends up in the blockchain in favor of the 1st.

This is very easily taken care of with various 'payment probability' algorithms, e.g. by checking on several other nodes throughout the Bitcoin network if a conflicting tx appears. If not, then within 2-3 sec the payment propagation will be virtually 100% and any conflicting tx (to perform the double-spend) won't stand a chance. At least not through default nodes, which is like >95% of the network and probably >99.999% of the miners (where it counts).


Nonsense. You need the private key to send coins from an address, only the owner of that key can attempt to spend the same coins twice.

  • Oh, I assumed with a supposed 'double spend app' he meant something that can setup, sign and broadcast transactions itself, thus having the private key. But yes, of course, an app to just double spend any 0-conf transaction is utter nonsense. Nov 5, 2014 at 6:48
  • Reading it again you might be right. Either way it doesn't exist because almost instantly the double-spend will be detected and within a few blocks all but one of the transactions will be rejected.
    – George
    Nov 5, 2014 at 6:54
  • You mean within a few seconds, right? ;) Nov 5, 2014 at 7:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.