CatapultServer  v0.5.0.1 (Elephant)
catapult::model::DetachedTransactionInfo Struct Reference
Inheritance diagram for catapult::model::DetachedTransactionInfo:
Collaboration diagram for catapult::model::DetachedTransactionInfo:

Public Member Functions

 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...
 
MoveOnlyoperator= (const MoveOnly &)=delete
 Disabled assignment operator. More...
 
MoveOnlyoperator= (MoveOnly &&)=default
 Default move assignment operator. More...
 

Public Attributes

std::shared_ptr< const UnresolvedAddressSetOptionalExtractedAddresses
 Extracted addresses (optional). More...
 
- Public Attributes inherited from catapult::model::EntityInfo< const Transaction >
std::shared_ptr< const TransactionpEntity
 Entity pointer. More...
 
Hash256 EntityHash
 Entity hash. More...
 

Detailed Description

A transaction and its (partial) associated metadata.

Note
This info does not contain MerkleComponentHash because it is detached from a block.

Constructor & Destructor Documentation

◆ DetachedTransactionInfo() [1/2]

catapult::model::DetachedTransactionInfo::DetachedTransactionInfo ( )
default

Creates a transaction info.

Here is the caller graph for this function:

◆ DetachedTransactionInfo() [2/2]

catapult::model::DetachedTransactionInfo::DetachedTransactionInfo ( const std::shared_ptr< const Transaction > &  pTransaction)
inlineexplicit

Creates a transaction info around pTransaction without any metadata.

Member Function Documentation

◆ copy()

DetachedTransactionInfo catapult::model::DetachedTransactionInfo::copy ( ) const
inline

Creates a (shallow) copy of this info.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ OptionalExtractedAddresses

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

Extracted addresses (optional).


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