51% or how to rewrite blockchain history