CatapultServer
v0.5.0.1 (Elephant)
|
Wrapper around a transaction and its cosignatures. More...
Public Member Functions | |
WeakCosignedTransactionInfo () | |
Creates an empty weak transaction info. More... | |
WeakCosignedTransactionInfo (const Transaction *pTransaction, const std::vector< Cosignature > *pCosignatures) | |
Creates a weak transaction info around pTransaction and pCosignatures. More... | |
const Transaction & | transaction () const |
Gets the transaction. More... | |
const std::vector< Cosignature > & | cosignatures () const |
Gets the cosignatures. More... | |
bool | hasCosigner (const Key &signer) const |
Returns true if a cosignature from signer is present. More... | |
operator bool () const noexcept | |
Returns true if the info is not empty and contains a valid entity pointer, false otherwise. More... | |
Private Attributes | |
const Transaction * | m_pTransaction |
const std::vector< Cosignature > * | m_pCosignatures |
Wrapper around a transaction and its cosignatures.
|
inline |
Creates an empty weak transaction info.
|
inline |
Creates a weak transaction info around pTransaction and pCosignatures.
|
inline |
Gets the cosignatures.
|
inline |
Returns true
if a cosignature from signer is present.
|
inlineexplicitnoexcept |
Returns true
if the info is not empty and contains a valid entity pointer, false
otherwise.
|
inline |
Gets the transaction.
|
private |
|
private |