added emitter for miner.notify