CatapultServer
v0.5.0.1 (Elephant)
|
Context passed when creating new block. More...
Public Member Functions | |
PreviousBlockContext () | |
Creates an empty context. More... | |
PreviousBlockContext (const BlockElement &blockElement) | |
Creates a context with blockElement as the previous block. More... | |
Public Attributes | |
Hash256 | BlockHash |
Hash of previous block. More... | |
catapult::GenerationHash | GenerationHash |
Generation hash of previous block. More... | |
Height | BlockHeight |
Height of previous block. More... | |
catapult::Timestamp | Timestamp |
Timestamp of previous block. More... | |
Context passed when creating new block.
|
inline |
Creates an empty context.
|
inlineexplicit |
Creates a context with blockElement as the previous block.
Hash256 catapult::model::PreviousBlockContext::BlockHash |
Hash of previous block.
Height catapult::model::PreviousBlockContext::BlockHeight |
Height of previous block.
catapult::GenerationHash catapult::model::PreviousBlockContext::GenerationHash |
Generation hash of previous block.
catapult::Timestamp catapult::model::PreviousBlockContext::Timestamp |
Timestamp of previous block.