basically, mining is working
just the callback-execution is missing, because we don't know callbacks
yet
it should be called onMiningFinish or something