CatapultServer  v0.5.0.1 (Elephant)
catapult::cache::PtData Class Reference
Collaboration diagram for catapult::cache::PtData:

Public Member Functions

 PtData (const model::DetachedTransactionInfo &transactionInfo)
 
model::DetachedTransactionInfo transactionInfo () const
 
std::shared_ptr< const model::Transactiontransaction () const
 
const Hash256entityHash () const
 
const std::vector< model::Cosignature > & cosignatures () const
 
const Hash256cosignaturesHash () const
 
model::WeakCosignedTransactionInfo weakCosignedTransactionInfo () const
 
state::TimestampedHash timestampedHash () const
 
bool add (const Key &signer, const Signature &signature)
 

Private Attributes

model::DetachedTransactionInfo m_transactionInfo
 
Hash256 m_cosignaturesHash
 
std::vector< model::Cosignaturem_cosignatures
 

Constructor & Destructor Documentation

◆ PtData()

catapult::cache::PtData::PtData ( const model::DetachedTransactionInfo transactionInfo)
inlineexplicit

Member Function Documentation

◆ add()

bool catapult::cache::PtData::add ( const Key signer,
const Signature signature 
)
inline
Here is the call graph for this function:

◆ cosignatures()

const std::vector<model::Cosignature>& catapult::cache::PtData::cosignatures ( ) const
inline

◆ cosignaturesHash()

const Hash256& catapult::cache::PtData::cosignaturesHash ( ) const
inline

◆ entityHash()

const Hash256& catapult::cache::PtData::entityHash ( ) const
inline
Here is the caller graph for this function:

◆ timestampedHash()

state::TimestampedHash catapult::cache::PtData::timestampedHash ( ) const
inline
Here is the call graph for this function:

◆ transaction()

std::shared_ptr<const model::Transaction> catapult::cache::PtData::transaction ( ) const
inline
Here is the caller graph for this function:

◆ transactionInfo()

model::DetachedTransactionInfo catapult::cache::PtData::transactionInfo ( ) const
inline
Here is the call graph for this function:

◆ weakCosignedTransactionInfo()

model::WeakCosignedTransactionInfo catapult::cache::PtData::weakCosignedTransactionInfo ( ) const
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_cosignatures

std::vector<model::Cosignature> catapult::cache::PtData::m_cosignatures
private

◆ m_cosignaturesHash

Hash256 catapult::cache::PtData::m_cosignaturesHash
private

◆ m_transactionInfo

model::DetachedTransactionInfo catapult::cache::PtData::m_transactionInfo
private

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