Blockchain-driven trust management and AI computing for sensor networks optimization | Synapse