Skip to content

Instantly share code, notes, and snippets.

View davidapple's full-sized avatar

David Apple davidapple

View GitHub Profile
@davidapple
davidapple / BackboneGraph.js
Created September 25, 2018 18:09
Graph data structure using Backbone for js
/*****************************************************
* Class: Graph. Data Structures in JS, Feb 2016
* Anatol Marezhanyi http://linkedin.com/in/merezhany/
* Class: BackboneGraph. Sep 2018
* Developed for BackboneJS by David Apple
*****************************************************/
'use strict'
class BackboneGraph {

Dave's Beautiful BCH 0conf Exploit

For Educational and Informational Purposes Only. The information contained in this Gist is for educational and informational purposes only, and is made available to you for your own use.


This hypothetical exploit details how a malicious actor could steal goods or services from a merchant using Bitcoin Cash. This exploit takes advantage of the acceptance of unconfirmed transactions in the Bitcoin Cash community.

Imagine you have 4 BCH addresses, with funds on address 1. Just before you pay the merchant, you send 3 transactions in quick succession this order.

Verifying that +davidapple is my blockchain ID. https://onename.com/davidapple