Bitcoin: The security of transaction block chains