Anatomy of a 51 % double-spend attack