Improving the Safety of Blockchain Networks: Using Smart Contracts and AI-Driven Consensus Mechanisms to Make Transactions More Trustworthy | IEEE Conference Publication | IEEE Xplore