Updated for darkcoin masternode changes