Sustainable broadcasting in Blockchain Networks with Reinforcement Learning