Fixes for Digitalcoin Core 3.0 fork bugs