moving PoS mining into wallet (partilally done)