CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
26 namespace catapult {
namespace model {
55 return signer == cosignature.Signer;
61 explicit operator bool() const noexcept {
Wrapper around a transaction and its cosignatures.
Definition: WeakCosignedTransactionInfo.h:29
const Transaction & transaction() const
Gets the transaction.
Definition: WeakCosignedTransactionInfo.h:43
bool hasCosigner(const Key &signer) const
Returns true if a cosignature from signer is present.
Definition: WeakCosignedTransactionInfo.h:53
const Transaction * m_pTransaction
Definition: WeakCosignedTransactionInfo.h:66
WeakCosignedTransactionInfo()
Creates an empty weak transaction info.
Definition: WeakCosignedTransactionInfo.h:32
const std::vector< Cosignature > * m_pCosignatures
Definition: WeakCosignedTransactionInfo.h:67
const std::vector< Cosignature > & cosignatures() const
Gets the cosignatures.
Definition: WeakCosignedTransactionInfo.h:48
Definition: AddressExtractionExtension.cpp:28
WeakCosignedTransactionInfo(const Transaction *pTransaction, const std::vector< Cosignature > *pCosignatures)
Creates a weak transaction info around pTransaction and pCosignatures.
Definition: WeakCosignedTransactionInfo.h:36
Binary layout for a transaction.
Definition: Transaction.h:32