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

A weighted candidate. More...

Collaboration diagram for catapult::extensions::WeightedCandidate:

Public Member Functions

 WeightedCandidate (const ionet::Node &node, uint64_t weight)
 Creates a weighted candidate around node and weight. More...
 

Public Attributes

const ionet::NodeNode
 Node. More...
 
uint64_t Weight
 Weight of the node. More...
 

Detailed Description

A weighted candidate.

Constructor & Destructor Documentation

◆ WeightedCandidate()

catapult::extensions::WeightedCandidate::WeightedCandidate ( const ionet::Node node,
uint64_t  weight 
)
inline

Creates a weighted candidate around node and weight.

Member Data Documentation

◆ Node

const ionet::Node& catapult::extensions::WeightedCandidate::Node

Node.

◆ Weight

uint64_t catapult::extensions::WeightedCandidate::Weight

Weight of the node.


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