More and more security holes are appearing in cryptocurrency and smart contract platforms, and some are fundamental to the way they were built.