Yep I first thought about something more stressful like every 1hours but then I realized that I wouldn't be able to play the game seriously since I don't have mist wallet at the office :/
Edit: The code seems to act as described, albeit it's rather hairy, inefficient, and poorly written.
Well I'm still learning here
