CatapultServer
v0.5.0.1 (Elephant)
|
A transaction and its associated metadata. More...
Public Member Functions | |
TransactionInfo ()=default | |
Creates a transaction info. More... | |
TransactionInfo (const std::shared_ptr< const Transaction > &pTransaction) | |
Creates a transaction info around pTransaction without any metadata. More... | |
TransactionInfo (const std::shared_ptr< const Transaction > &pTransaction, const Hash256 &hash) | |
Creates a transaction info around pTransaction and its associated metadata (hash). More... | |
TransactionInfo | copy () const |
Creates a (shallow) copy of this info. More... | |
Public Member Functions inherited from catapult::model::DetachedTransactionInfo | |
DetachedTransactionInfo ()=default | |
Creates a transaction info. More... | |
DetachedTransactionInfo (const std::shared_ptr< const Transaction > &pTransaction) | |
Creates a transaction info around pTransaction without any metadata. More... | |
DetachedTransactionInfo | copy () const |
Creates a (shallow) copy of this info. More... | |
Public Member Functions inherited from catapult::model::EntityInfo< const Transaction > | |
EntityInfo ()=default | |
Creates an entity info. More... | |
EntityInfo (const std::shared_ptr< const Transaction > &pEntityParam, const Hash256 &hash) | |
Creates an entity info around pEntityParam and its associated metadata (hash). More... | |
operator bool () const noexcept | |
Returns true if the info is not empty and contains a valid entity pointer, false otherwise. More... | |
Public Member Functions inherited from catapult::utils::MoveOnly | |
constexpr | MoveOnly ()=default |
Default constructor. More... | |
~MoveOnly ()=default | |
Default destructor. More... | |
MoveOnly (const NonCopyable &)=delete | |
Disabled copy constructor. More... | |
MoveOnly (MoveOnly &&)=default | |
Default move constructor. More... | |
MoveOnly & | operator= (const MoveOnly &)=delete |
Disabled assignment operator. More... | |
MoveOnly & | operator= (MoveOnly &&)=default |
Default move assignment operator. More... | |
Public Attributes | |
Hash256 | MerkleComponentHash |
Modified hash that should be used as a hash in the merkle tree. More... | |
Public Attributes inherited from catapult::model::DetachedTransactionInfo | |
std::shared_ptr< const UnresolvedAddressSet > | OptionalExtractedAddresses |
Extracted addresses (optional). More... | |
Public Attributes inherited from catapult::model::EntityInfo< const Transaction > | |
std::shared_ptr< const Transaction > | pEntity |
Entity pointer. More... | |
Hash256 | EntityHash |
Entity hash. More... | |
A transaction and its associated metadata.
|
default |
Creates a transaction info.
|
inlineexplicit |
Creates a transaction info around pTransaction without any metadata.
|
inlineexplicit |
Creates a transaction info around pTransaction and its associated metadata (hash).
|
inline |
Creates a (shallow) copy of this info.
Hash256 catapult::model::TransactionInfo::MerkleComponentHash |
Modified hash that should be used as a hash in the merkle tree.