CatapultServer  v0.5.0.1 (Elephant)
catapult::harvesting::HarvestingConfiguration Struct Reference

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
 

Detailed Description

Harvesting configuration settings.

Constructor & Destructor Documentation

◆ HarvestingConfiguration()

catapult::harvesting::HarvestingConfiguration::HarvestingConfiguration ( )
privatedefault
Here is the caller graph for this function:

Member Function Documentation

◆ LoadFromBag()

HarvestingConfiguration catapult::harvesting::HarvestingConfiguration::LoadFromBag ( const utils::ConfigurationBag bag)
static

Loads a harvesting configuration from bag.

Here is the call graph for this function:

◆ LoadFromPath()

HarvestingConfiguration catapult::harvesting::HarvestingConfiguration::LoadFromPath ( const boost::filesystem::path &  resourcesPath)
static

Loads a harvesting configuration from resourcesPath.

◆ Uninitialized()

HarvestingConfiguration catapult::harvesting::HarvestingConfiguration::Uninitialized ( )
static

Creates an uninitialized harvesting configuration.

Here is the call graph for this function:

Member Data Documentation

◆ Beneficiary

std::string catapult::harvesting::HarvestingConfiguration::Beneficiary

Public key of the account receiving part of the harvested fee.

◆ HarvestKey

std::string catapult::harvesting::HarvestingConfiguration::HarvestKey

Harvest key.

◆ IsAutoHarvestingEnabled

bool catapult::harvesting::HarvestingConfiguration::IsAutoHarvestingEnabled

true if auto harvesting is enabled.

◆ MaxUnlockedAccounts

uint32_t catapult::harvesting::HarvestingConfiguration::MaxUnlockedAccounts

Maximum number of unlocked accounts.


The documentation for this struct was generated from the following files: