Towards Self-Adaptive Blockchain Security: An AI-Driven Framework for Resilient IoT Networks | Synapse