Alice in Blockchains: Surprising Security Pitfalls in PoW and PoS Blockchain Systems | IEEE Conference Publication | IEEE Xplore