CatapultServer  v0.5.0.1 (Elephant)
catapult::model::TransactionElement Struct Reference

Processing element for a transaction composed of a transaction and metadata. More...

Inheritance diagram for catapult::model::TransactionElement:
Collaboration diagram for catapult::model::TransactionElement:

Public Member Functions

 TransactionElement (const model::Transaction &transaction)
 Creates a transaction element around transaction. More...
 

Public Attributes

const model::TransactionTransaction
 Transaction entity. More...
 
Hash256 EntityHash
 Entity hash. More...
 
Hash256 MerkleComponentHash
 Modified hash that should be used as a hash in the merkle tree. More...
 
std::shared_ptr< const UnresolvedAddressSetOptionalExtractedAddresses
 

Detailed Description

Processing element for a transaction composed of a transaction and metadata.

Constructor & Destructor Documentation

◆ TransactionElement()

catapult::model::TransactionElement::TransactionElement ( const model::Transaction transaction)
inlineexplicit

Creates a transaction element around transaction.

Member Data Documentation

◆ EntityHash

Hash256 catapult::model::TransactionElement::EntityHash

Entity hash.

◆ MerkleComponentHash

Hash256 catapult::model::TransactionElement::MerkleComponentHash

Modified hash that should be used as a hash in the merkle tree.

◆ OptionalExtractedAddresses

std::shared_ptr<const UnresolvedAddressSet> catapult::model::TransactionElement::OptionalExtractedAddresses

Optional extracted addresses.

Note
shared_ptr for optionality and more performant copyability.

◆ Transaction

const model::Transaction& catapult::model::TransactionElement::Transaction

Transaction entity.


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