CatapultServer
v0.5.0.1 (Elephant)
|
Helper to add cosignatures to an aggregate transaction. More...
Public Member Functions | |
AggregateCosignatureAppender (const GenerationHash &generationHash, std::unique_ptr< model::AggregateTransaction > &&pAggregateTransaction) | |
void | cosign (const crypto::KeyPair &cosigner) |
Cosigns an aggregate transaction using cosigner key pair. More... | |
std::unique_ptr< model::AggregateTransaction > | build () const |
Builds an aggregate transaction with cosigatures appended. More... | |
Private Attributes | |
GenerationHash | m_generationHash |
std::unique_ptr< model::AggregateTransaction > | m_pAggregateTransaction |
Hash256 | m_transactionHash |
std::vector< model::Cosignature > | m_cosignatures |
Helper to add cosignatures to an aggregate transaction.
catapult::builders::AggregateCosignatureAppender::AggregateCosignatureAppender | ( | const GenerationHash & | generationHash, |
std::unique_ptr< model::AggregateTransaction > && | pAggregateTransaction | ||
) |
Creates aggregate cosignature appender around aggregate transaction (pAggregateTransaction) for the network with the specified generation hash (generationHash).
std::unique_ptr< TransactionType > catapult::builders::AggregateCosignatureAppender::build | ( | ) | const |
Builds an aggregate transaction with cosigatures appended.
void catapult::builders::AggregateCosignatureAppender::cosign | ( | const crypto::KeyPair & | cosigner | ) |
Cosigns an aggregate transaction using cosigner key pair.
|
private |
|
private |
|
private |
|
private |