src/activemasternode.cpp
// Send stop dseep to network for remote masternode
Send stop dseep to network for remote masternode
Send stop dseep to network for remote masternode
bool CActiveMasternode::StopMasterNode(std::string strService, std::string strKeyMasternode, std::string& errorMessage) {
    CTxIn vin;
    CKey keyMasternode;
    CPubKey pubKeyMasternode;
    if(!darkSendSigner.SetKey(strKeyMasternode, errorMessage, keyMasternode, pubKeyMasternode)) {
        LogPrintf("CActiveMasternode::StopMasterNode() - Error: %s\n", errorMessage.c_str());
        return false;
    }
    return StopMasterNode(vin, CService(strService), keyMasternode, pubKeyMasternode, errorMessage);
}
bool CActiveMasternode :: StopMasterNode ( std :: string strService , std :: string strKeyMasternode , std :: string & errorMessage ) { CTxIn vin ; CKey keyMasternode ; CPubKey pubKeyMasternode ; if ( ! darkSendSigner . SetKey ( strKeyMasternode , errorMessage , keyMasternode , pubKeyMasternode ) ) { LogPrintf ( " \n " , errorMessage . c_str ( ) ) ; return false ; } return StopMasterNode ( vin , CService ( strService ) , keyMasternode , pubKeyMasternode , errorMessage ) ; }
Send stop dseep to network for remote masternode
Send stop dseep to network for remote masternode