Blockchain and federated learning