That encompasses two (out of three) major changes we need to patch yacoin. ...
Updated GetNextTargetRequired function, this one takes care of "resetting" difficulty after PoS blocks. Also updated code for raising difficulty of overstepped PoW blocks. In color: