Attacks and countermeasures on blockchains: A survey from layering perspective[J] COMPUTER NETWORKS 2021(191) Wen, Yujuan Lu, Fengyuan Liu, Yufei Huang, Xinli