CatapultServer
v0.5.0.1 (Elephant)
|
Base transaction builder. More...
Public Member Functions | |
TransactionBuilder (model::NetworkIdentifier networkIdentifier, const Key &signer) | |
Creates a transaction builder with networkIdentifier and signer. More... | |
const Key & | signer () const |
Returns signer. More... | |
void | setDeadline (catapult::Timestamp deadline) |
Sets transaction deadline. More... | |
void | setMaxFee (catapult::Amount fee) |
Sets maximum transaction fee. More... | |
Protected Member Functions | |
template<typename TTransaction > | |
std::unique_ptr< TTransaction > | createTransaction (size_t size) const |
Static Protected Member Functions | |
template<typename T , typename Predicate > | |
static void | InsertSorted (std::vector< T > &vector, const T &element, Predicate orderPredicate) |
Private Member Functions | |
void | setAdditionalFields (model::EmbeddedTransaction &) const |
void | setAdditionalFields (model::Transaction &transaction) const |
Private Attributes | |
const model::NetworkIdentifier | m_networkIdentifier |
const Key & | m_signer |
Timestamp | m_deadline |
Amount | m_maxFee |
Base transaction builder.
|
inline |
Creates a transaction builder with networkIdentifier and signer.
|
inlineprotected |
|
inlinestaticprotected |
|
inlineprivate |
|
inlineprivate |
|
inline |
Sets transaction deadline.
|
inline |
Sets maximum transaction fee.
|
inline |
Returns signer.
|
private |
|
private |
|
private |
|
private |