5 #ifndef GOVERNANCE_VALIDATORS_H 6 #define GOVERNANCE_VALIDATORS_H 18 void SetHexData(
const std::string& strDataHexIn);
42 bool GetDataValue(
const std::string& strKey, std::string& strValue);
44 bool GetDataValue(
const std::string& strKey, int64_t& nValue);
46 bool GetDataValue(
const std::string& strKey,
double& dValue);
50 static bool CheckURL(
const std::string& strURLIn);
bool ValidatePaymentAddress()
bool ValidateStartEndEpoch()
const std::string & GetErrorMessages()
static std::string StripWhitespace(const std::string &strIn)
static bool CheckURL(const std::string &strURLIn)
void SetHexData(const std::string &strDataHexIn)
bool GetDataValue(const std::string &strKey, std::string &strValue)
bool ValidatePaymentAmount()
std::string strErrorMessages
CProposalValidator(const std::string &strDataHexIn=std::string())