CatapultServer
v0.5.0.1 (Elephant)
|
Processing element for a block composed of a block and metadata. More...
Public Member Functions | |
BlockElement (const model::Block &block) | |
Creates a block element around block. More... | |
Public Attributes | |
const model::Block & | Block |
Block entity. More... | |
Hash256 | EntityHash |
Entity hash. More... | |
catapult::GenerationHash | GenerationHash |
Generation hash of the block. More... | |
std::vector< Hash256 > | SubCacheMerkleRoots |
Merkle roots for all sub caches at the current block. More... | |
std::vector< TransactionElement > | Transactions |
Transaction elements. More... | |
std::shared_ptr< const BlockStatement > | OptionalStatement |
Processing element for a block composed of a block and metadata.
|
inlineexplicit |
Creates a block element around block.
const model::Block& catapult::model::BlockElement::Block |
Block entity.
Hash256 catapult::model::BlockElement::EntityHash |
Entity hash.
catapult::GenerationHash catapult::model::BlockElement::GenerationHash |
Generation hash of the block.
std::shared_ptr<const BlockStatement> catapult::model::BlockElement::OptionalStatement |
Optional block statement.
std::vector<Hash256> catapult::model::BlockElement::SubCacheMerkleRoots |
Merkle roots for all sub caches at the current block.
std::vector<TransactionElement> catapult::model::BlockElement::Transactions |
Transaction elements.