additional Dogecoin 1.6 changes

(cherry picked from commit 6d46c53acf957e33e3940a8db009cc406a3f6b9c)
Merge pull request #362 from leofidus/1.7-digishield-fix

additional Dogecoin 1.6 changes