PoPI: A machine learning-based consensus mechanism for blockchain-enabled IoT systems (PLOS ONE, 2026)