CatapultServer  v0.5.0.1 (Elephant)
catapult::ionet::NetworkNode Struct Reference

Information about a catapult node that is propagated through the network. More...

Collaboration diagram for catapult::ionet::NetworkNode:

Static Public Member Functions

static constexpr uint64_t CalculateRealSize (const NetworkNode &node) noexcept
 Calculates the real size of node. More...
 

Public Attributes

uint32_t Size
 Size of the node. More...
 
Key IdentityKey
 Unique node identifier (public key). More...
 
uint16_t Port
 Port. More...
 
model::NetworkIdentifier NetworkIdentifier
 Network identifier. More...
 
NodeVersion Version
 Version. More...
 
NodeRoles Roles
 Role(s). More...
 
uint8_t HostSize
 Size of the host in bytes. More...
 
uint8_t FriendlyNameSize
 Size of the friendly name in bytes. More...
 

Detailed Description

Information about a catapult node that is propagated through the network.

Member Function Documentation

◆ CalculateRealSize()

static constexpr uint64_t catapult::ionet::NetworkNode::CalculateRealSize ( const NetworkNode node)
inlinestaticconstexprnoexcept

Calculates the real size of node.

Member Data Documentation

◆ FriendlyNameSize

uint8_t catapult::ionet::NetworkNode::FriendlyNameSize

Size of the friendly name in bytes.

◆ HostSize

uint8_t catapult::ionet::NetworkNode::HostSize

Size of the host in bytes.

◆ IdentityKey

Key catapult::ionet::NetworkNode::IdentityKey

Unique node identifier (public key).

◆ NetworkIdentifier

model::NetworkIdentifier catapult::ionet::NetworkNode::NetworkIdentifier

Network identifier.

◆ Port

uint16_t catapult::ionet::NetworkNode::Port

Port.

◆ Roles

NodeRoles catapult::ionet::NetworkNode::Roles

Role(s).

◆ Size

uint32_t catapult::ionet::NetworkNode::Size

Size of the node.

◆ Version

NodeVersion catapult::ionet::NetworkNode::Version

Version.


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