Blockchain in the Era of Industry 4.0