CatapultServer
v0.5.0.1 (Elephant)
|
Harvesting configuration settings. More...
Static Public Member Functions | |
static HarvestingConfiguration | Uninitialized () |
Creates an uninitialized harvesting configuration. More... | |
static HarvestingConfiguration | LoadFromBag (const utils::ConfigurationBag &bag) |
Loads a harvesting configuration from bag. More... | |
static HarvestingConfiguration | LoadFromPath (const boost::filesystem::path &resourcesPath) |
Loads a harvesting configuration from resourcesPath. More... | |
Public Attributes | |
std::string | HarvestKey |
Harvest key. More... | |
bool | IsAutoHarvestingEnabled |
true if auto harvesting is enabled. More... | |
uint32_t | MaxUnlockedAccounts |
Maximum number of unlocked accounts. More... | |
std::string | Beneficiary |
Public key of the account receiving part of the harvested fee. More... | |
Private Member Functions | |
HarvestingConfiguration ()=default | |
Harvesting configuration settings.
|
privatedefault |
|
static |
Loads a harvesting configuration from bag.
|
static |
Loads a harvesting configuration from resourcesPath.
|
static |
Creates an uninitialized harvesting configuration.
std::string catapult::harvesting::HarvestingConfiguration::Beneficiary |
Public key of the account receiving part of the harvested fee.
std::string catapult::harvesting::HarvestingConfiguration::HarvestKey |
Harvest key.
bool catapult::harvesting::HarvestingConfiguration::IsAutoHarvestingEnabled |
true
if auto harvesting is enabled.
uint32_t catapult::harvesting::HarvestingConfiguration::MaxUnlockedAccounts |
Maximum number of unlocked accounts.