Block chains & decentralized consensus algorithms: applications and barriers in the IOT world