CatapultServer  v0.5.0.1 (Elephant)
ValidateHarvestingConfiguration.h
Go to the documentation of this file.
1 
21 #pragma once
22 
23 namespace catapult { namespace harvesting { struct HarvestingConfiguration; } }
24 
25 namespace catapult { namespace harvesting {
26 
28  void ValidateHarvestingConfiguration(const HarvestingConfiguration& config);
29 }}
CATAPULT_THROW_AND_LOG_0
#define CATAPULT_THROW_AND_LOG_0(TYPE, MESSAGE)
Macro used to throw a catapult exception with zero parameters.
Definition: exceptions.h:146
catapult::harvesting::HarvestingConfiguration
Harvesting configuration settings.
Definition: HarvestingConfiguration.h:30
HarvestingConfiguration.h
ValidateHarvestingConfiguration.h
catapult::harvesting::HarvestingConfiguration::Beneficiary
std::string Beneficiary
Public key of the account receiving part of the harvested fee.
Definition: HarvestingConfiguration.h:42
KeyUtils.h
catapult::crypto::IsValidKeyString
bool IsValidKeyString(const std::string &str)
Returns true if str represents a valid public key, false otherwise.
Definition: KeyUtils.cpp:39
ConfigurationBag.h
catapult
Definition: AddressExtractionExtension.cpp:28
HexParser.h
catapult::utils::property_malformed_error
Exception class that is thrown when a configuration property is malformed.
Definition: ConfigurationBag.h:38
catapult::harvesting::ValidateHarvestingConfiguration
void ValidateHarvestingConfiguration(const HarvestingConfiguration &config)
Validates config and throws an exception if it is invalid.
Definition: ValidateHarvestingConfiguration.cpp:35