Reddcoin PoW and PoSV miner. Later need to get rid of the duplicate in main.cpp