CatapultServer
v0.5.0.1 (Elephant)
|
Contextual information for calculating a block hit. More...
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... | |
Contextual information for calculating a block hit.
|
inline |
Creates a block hit context.
catapult::Difficulty catapult::chain::BlockHitContext::Difficulty |
Block difficulty.
utils::TimeSpan catapult::chain::BlockHitContext::ElapsedTime |
Time since the last block.
catapult::GenerationHash catapult::chain::BlockHitContext::GenerationHash |
Generation hash.
catapult::Height catapult::chain::BlockHitContext::Height |
Block height.
Key catapult::chain::BlockHitContext::Signer |
Public key of the block signer.