CatapultServer  v0.5.0.1 (Elephant)
catapult::api::ChainInfoResponse Struct Reference

A chain info response. More...

Inheritance diagram for catapult::api::ChainInfoResponse:
Collaboration diagram for catapult::api::ChainInfoResponse:

Public Attributes

catapult::Height Height
 Chain height. More...
 
uint64_t ScoreHigh
 High part of the score. More...
 
uint64_t ScoreLow
 Low part of the score. More...
 
- Public Attributes inherited from catapult::ionet::PacketHeader
uint32_t Size
 Size of the packet. More...
 
PacketType Type
 Type of the packet. More...
 

Static Public Attributes

static constexpr ionet::PacketType Packet_Type = ionet::PacketType::Chain_Info
 

Additional Inherited Members

- Public Member Functions inherited from catapult::ionet::Packet
uint8_t * Data ()
 Returns a non-const pointer to data contained in this packet. More...
 
constexpr const uint8_t * Data () const
 Returns a const pointer to data contained in this packet. More...
 
- Public Member Functions inherited from catapult::utils::NonCopyable
constexpr NonCopyable ()=default
 Default constructor. More...
 
 ~NonCopyable ()=default
 Default destructor. More...
 
 NonCopyable (const NonCopyable &)=delete
 Disabled copy constructor. More...
 
NonCopyableoperator= (const NonCopyable &)=delete
 Disabled assignment operator. More...
 

Detailed Description

A chain info response.

Member Data Documentation

◆ Height

catapult::Height catapult::api::ChainInfoResponse::Height

Chain height.

◆ Packet_Type

constexpr ionet::PacketType catapult::api::ChainInfoResponse::Packet_Type = ionet::PacketType::Chain_Info
staticconstexpr

◆ ScoreHigh

uint64_t catapult::api::ChainInfoResponse::ScoreHigh

High part of the score.

◆ ScoreLow

uint64_t catapult::api::ChainInfoResponse::ScoreLow

Low part of the score.


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