A Quality-of-Service Compliance System using Federated Learning and Optimistic Rollups