|
CatapultServer
v0.5.0.1 (Elephant)
|
Extensions for working with transactions. More...

Public Member Functions | |
| TransactionExtensions (const GenerationHash &generationHash) | |
| Creates extensions for transactions for the network with the specified generation hash (generationHash). More... | |
| void | sign (const crypto::KeyPair &signer, model::Transaction &transaction) const |
| Signs the transaction using signer private key. More... | |
| bool | verify (const model::Transaction &transaction) const |
| Verifies signature of the transaction. More... | |
Private Attributes | |
| GenerationHash | m_generationHash |
Extensions for working with transactions.
|
explicit |
Creates extensions for transactions for the network with the specified generation hash (generationHash).
| void catapult::extensions::TransactionExtensions::sign | ( | const crypto::KeyPair & | signer, |
| model::Transaction & | transaction | ||
| ) | const |
Signs the transaction using signer private key.

| bool catapult::extensions::TransactionExtensions::verify | ( | const model::Transaction & | transaction | ) | const |
Verifies signature of the transaction.


|
private |