A Blockchain-based Multi-layer Decentralized Framework for Robust Federated Learning