CatapultServer  v0.5.0.1 (Elephant)
catapult::chain::CompareChainsOptions Struct Reference

Options for comparing two chains. More...

Public Member Functions

 CompareChainsOptions ()
 Creates compare-chains options. More...
 
 CompareChainsOptions (uint32_t maxBlocksToAnalyze, uint32_t maxBlocksToRewrite)
 

Public Attributes

uint32_t MaxBlocksToAnalyze
 Maximum number of blocks to analyze. More...
 
uint32_t MaxBlocksToRewrite
 Maximum number of blocks to rewrite. More...
 

Detailed Description

Options for comparing two chains.

Constructor & Destructor Documentation

◆ CompareChainsOptions() [1/2]

catapult::chain::CompareChainsOptions::CompareChainsOptions ( )
inline

Creates compare-chains options.

◆ CompareChainsOptions() [2/2]

catapult::chain::CompareChainsOptions::CompareChainsOptions ( uint32_t  maxBlocksToAnalyze,
uint32_t  maxBlocksToRewrite 
)
inline

Creates compare-chains options from a maximum number of blocks to analyze (maxBlocksToAnalyze) and a maximum number of blocks to rewrite (maxBlocksToRewrite).

Member Data Documentation

◆ MaxBlocksToAnalyze

uint32_t catapult::chain::CompareChainsOptions::MaxBlocksToAnalyze

Maximum number of blocks to analyze.

◆ MaxBlocksToRewrite

uint32_t catapult::chain::CompareChainsOptions::MaxBlocksToRewrite

Maximum number of blocks to rewrite.


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