Overcoming limits of blockchain for IoT applications