CatapultServer  v0.5.0.1 (Elephant)
catapult::model::NetworkInfo Struct Reference

Information about a network. More...

Collaboration diagram for catapult::model::NetworkInfo:

Public Member Functions

constexpr NetworkInfo ()
 Creates a default, uninitialized network info. More...
 
constexpr NetworkInfo (NetworkIdentifier identifier, const Key &publicKey, const catapult::GenerationHash &generationHash)
 

Public Attributes

NetworkIdentifier Identifier
 Network identifier. More...
 
Key PublicKey
 Nemesis public key. More...
 
catapult::GenerationHash GenerationHash
 Nemesis generation hash. More...
 

Detailed Description

Information about a network.

Constructor & Destructor Documentation

◆ NetworkInfo() [1/2]

constexpr catapult::model::NetworkInfo::NetworkInfo ( )
inlineconstexpr

Creates a default, uninitialized network info.

◆ NetworkInfo() [2/2]

constexpr catapult::model::NetworkInfo::NetworkInfo ( NetworkIdentifier  identifier,
const Key publicKey,
const catapult::GenerationHash generationHash 
)
inlineconstexpr

Creates a network info around a network identifier, a nemesis public key (publicKey) and a nemesis generation hash (generationHash).

Member Data Documentation

◆ GenerationHash

catapult::GenerationHash catapult::model::NetworkInfo::GenerationHash

Nemesis generation hash.

◆ Identifier

NetworkIdentifier catapult::model::NetworkInfo::Identifier

Network identifier.

◆ PublicKey

Key catapult::model::NetworkInfo::PublicKey

Nemesis public key.


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