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

Contextual information for calculating a block hit. More...

Collaboration diagram for catapult::chain::BlockHitContext:

Public Member Functions

 BlockHitContext ()
 Creates a block hit context. More...
 

Public Attributes

catapult::GenerationHash GenerationHash
 Generation hash. More...
 
utils::TimeSpan ElapsedTime
 Time since the last block. More...
 
Key Signer
 Public key of the block signer. More...
 
catapult::Difficulty Difficulty
 Block difficulty. More...
 
catapult::Height Height
 Block height. More...
 

Detailed Description

Contextual information for calculating a block hit.

Constructor & Destructor Documentation

◆ BlockHitContext()

catapult::chain::BlockHitContext::BlockHitContext ( )
inline

Creates a block hit context.

Member Data Documentation

◆ Difficulty

catapult::Difficulty catapult::chain::BlockHitContext::Difficulty

Block difficulty.

◆ ElapsedTime

utils::TimeSpan catapult::chain::BlockHitContext::ElapsedTime

Time since the last block.

◆ GenerationHash

catapult::GenerationHash catapult::chain::BlockHitContext::GenerationHash

Generation hash.

◆ Height

catapult::Height catapult::chain::BlockHitContext::Height

Block height.

◆ Signer

Key catapult::chain::BlockHitContext::Signer

Public key of the block signer.


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