Extend PoW to secure PoS generation