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

Options for a blocks-from request. More...

Public Member Functions

 BlocksFromOptions ()
 Creates blocks-from options. More...
 
 BlocksFromOptions (uint32_t numBlocks, uint32_t numBytes)
 

Public Attributes

uint32_t NumBlocks
 Requested number of blocks. More...
 
uint32_t NumBytes
 Requested number of bytes. More...
 

Detailed Description

Options for a blocks-from request.

Constructor & Destructor Documentation

◆ BlocksFromOptions() [1/2]

catapult::api::BlocksFromOptions::BlocksFromOptions ( )
inline

Creates blocks-from options.

◆ BlocksFromOptions() [2/2]

catapult::api::BlocksFromOptions::BlocksFromOptions ( uint32_t  numBlocks,
uint32_t  numBytes 
)
inline

Creates blocks-from options from a number of requested blocks (numBlocks) and a number of requested bytes (numBytes).

Member Data Documentation

◆ NumBlocks

uint32_t catapult::api::BlocksFromOptions::NumBlocks

Requested number of blocks.

◆ NumBytes

uint32_t catapult::api::BlocksFromOptions::NumBytes

Requested number of bytes.


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