Bitcoin Cash double spends

Double spend is when a set of coins is spent in more than one transaction. This can happen for various reasons, but one of the reasons is fraud attempts.

Bitcoin Cash accepts 0-conf payments, which I consider insecure by default. But I would like to have some data to support this, so I went looking.

Since someone developed a website for detecting double spends on the Bitcoin Cash network, I decided to scrape it and get some numbers from it. The site in question is:

https://doublespend.cash/

Numbers

  • Date of first transaction, 2018-02-13 11:34:44 +0000
  • Date of last transaction, 2018-08-22 06:31:53 +0100
  • Period, 189 days
  • Number of attempts, 387
  • Successful double spends, 109 (28%)

Files

Feel free to clone the GitHub repo and use it at your own will.

  • scrape.rb, a ruby script, scrapes the website and writes to a json file
  • output.json, file with all transactions in JSON format
  • stats.rb, parses the output.json file and delivers some stats