CatapultServer
v0.5.0.1 (Elephant)
|
A typed transaction plugin. More...
Public Member Functions | |
virtual | ~TransactionPluginT ()=default |
virtual EntityType | type () const =0 |
Gets the transaction entity type. More... | |
virtual TransactionAttributes | attributes () const =0 |
Gets transaction dependent attributes. More... | |
virtual uint64_t | calculateRealSize (const TTransaction &transaction) const =0 |
Calculates the real size of transaction. More... | |
A typed transaction plugin.
|
virtualdefault |
|
pure virtual |
Gets transaction dependent attributes.
Implemented in catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin >, and catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< Transaction, TTransaction, TransactionPlugin >.
|
pure virtual |
Calculates the real size of transaction.
Implemented in catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< Transaction, TTransaction, TransactionPlugin >, and catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin >.
|
pure virtual |
Gets the transaction entity type.
Implemented in catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< EmbeddedTransaction, TEmbeddedTransaction, EmbeddedTransactionPlugin >, and catapult::model::TransactionPluginFactory< Options >::BasicTransactionPluginT< Transaction, TTransaction, TransactionPlugin >.