Dogecoin support -- wow

Someone needs to do it. resolves #2685.
Right, line 310-331 is redundant.