src/omnicore/consensushash.cpp
// Generates a consensus string for hashing based on a DEx accept object
Generates a consensus string for hashing based on a DEx accept object
Generates a consensus string for hashing based on a DEx accept object
std::string GenerateConsensusString(const CMPAccept& acceptObj, const std::string& address)
{
    return strprintf("%s|%s|%d|%d|%d",
            acceptObj.getHash().GetHex(), address, acceptObj.getAcceptAmount(), acceptObj.getAcceptAmountRemaining(),
            acceptObj.getAcceptBlock());
}
std :: string GenerateConsensusString ( const CMPAccept & acceptObj , const std :: string & address ) { return strprintf ( " " , acceptObj . getHash ( ) . GetHex ( ) , address , acceptObj . getAcceptAmount ( ) , acceptObj . getAcceptAmountRemaining ( ) , acceptObj . getAcceptBlock ( ) ) ; }
Generates a consensus string for hashing based on a DEx accept object
Generates a consensus string for hashing based on a DEx accept object