Speaking of new code:
I updated
GetBlockTrust and added
GetNextTargetRequired changes.
That encompasses two (out of three) major changes we need to patch yacoin.
What I would like to do next is talk about my next goal: Before these changes go in effect, I would like to do more refactoring (prepare, this might hurt a bit) and swap PoS block nNonce and nBits.
And the reason has to do with what I believe will be one of next major yacoin issues - future implementation of
Headers-first method. Hard fork is the only right time to do such things. This way we can make it possible to determine chain trust from headers only (once you understand the changes I linked to), otherwise all clients will need to download and process full blockchain. This will become very time and resource consuming with each next block - and yacoin system generates a lot of them.
However, before I start, I need some feedback from community - do I have your support? Will I get any help? Opposition?
And please check out two links above.