integrating complete PoW support in miner