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

A pull blocks request. More...

Inheritance diagram for catapult::api::PullBlocksRequest:
Collaboration diagram for catapult::api::PullBlocksRequest:

Public Attributes

uint32_t NumBlocks
 Requested number of blocks. More...
 
uint32_t NumResponseBytes
 Requested response size (in bytes). More...
 
- Public Attributes inherited from catapult::api::HeightPacket< ionet::PacketType::Pull_Blocks >
catapult::Height Height
 Requested block height. More...
 
- Public Attributes inherited from catapult::ionet::PacketHeader
uint32_t Size
 Size of the packet. More...
 
PacketType Type
 Type of the packet. More...
 

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...
 
- Static Public Attributes inherited from catapult::api::HeightPacket< ionet::PacketType::Pull_Blocks >
static constexpr ionet::PacketType Packet_Type
 

Detailed Description

A pull blocks request.

Member Data Documentation

◆ NumBlocks

uint32_t catapult::api::PullBlocksRequest::NumBlocks

Requested number of blocks.

◆ NumResponseBytes

uint32_t catapult::api::PullBlocksRequest::NumResponseBytes

Requested response size (in bytes).


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