PPCoin: target adjustment for both proof-of-work and proof-of-stake