CatapultServer  v0.5.0.1 (Elephant)
catapult::extensions::SelectorSettings Struct Reference

Settings used to initialize a selector task. More...

Collaboration diagram for catapult::extensions::SelectorSettings:

Public Member Functions

 SelectorSettings (const cache::CatapultCache &cache, Importance totalChainImportance, ionet::NodeContainer &nodes, ionet::ServiceIdentifier serviceId, ionet::NodeRoles requiredRole, const config::NodeConfiguration::ConnectionsSubConfiguration &config)
 Creates settings around cache, totalChainImportance, nodes, serviceId, requiredRole and config. More...
 
 SelectorSettings (const cache::CatapultCache &cache, Importance totalChainImportance, ionet::NodeContainer &nodes, ionet::ServiceIdentifier serviceId, const config::NodeConfiguration::ConnectionsSubConfiguration &config)
 Creates settings around cache, totalChainImportance, nodes, serviceId and config. More...
 

Public Attributes

ionet::NodeContainerNodes
 Container of nodes from which to select. More...
 
ionet::ServiceIdentifier ServiceId
 Service identifier for selection. More...
 
ionet::NodeRoles RequiredRole
 Required role for selection (if applicable). More...
 
config::NodeConfiguration::ConnectionsSubConfiguration Config
 Connections configuration. More...
 
extensions::ImportanceRetriever ImportanceRetriever
 Retrieves an account importance given a public key. More...
 

Detailed Description

Settings used to initialize a selector task.

Constructor & Destructor Documentation

◆ SelectorSettings() [1/2]

catapult::extensions::SelectorSettings::SelectorSettings ( const cache::CatapultCache cache,
Importance  totalChainImportance,
ionet::NodeContainer nodes,
ionet::ServiceIdentifier  serviceId,
ionet::NodeRoles  requiredRole,
const config::NodeConfiguration::ConnectionsSubConfiguration config 
)

Creates settings around cache, totalChainImportance, nodes, serviceId, requiredRole and config.

Here is the call graph for this function:

◆ SelectorSettings() [2/2]

catapult::extensions::SelectorSettings::SelectorSettings ( const cache::CatapultCache cache,
Importance  totalChainImportance,
ionet::NodeContainer nodes,
ionet::ServiceIdentifier  serviceId,
const config::NodeConfiguration::ConnectionsSubConfiguration config 
)

Creates settings around cache, totalChainImportance, nodes, serviceId and config.

Member Data Documentation

◆ Config

config::NodeConfiguration::ConnectionsSubConfiguration catapult::extensions::SelectorSettings::Config

Connections configuration.

◆ ImportanceRetriever

extensions::ImportanceRetriever catapult::extensions::SelectorSettings::ImportanceRetriever

Retrieves an account importance given a public key.

◆ Nodes

ionet::NodeContainer& catapult::extensions::SelectorSettings::Nodes

Container of nodes from which to select.

◆ RequiredRole

ionet::NodeRoles catapult::extensions::SelectorSettings::RequiredRole

Required role for selection (if applicable).

◆ ServiceId

ionet::ServiceIdentifier catapult::extensions::SelectorSettings::ServiceId

Service identifier for selection.


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