CatapultServer  v0.5.0.1 (Elephant)
TransactionSelectionStrategy.h
Go to the documentation of this file.
1 
21 #pragma once
22 #include <string>
23 
24 namespace catapult { namespace model {
25 
30  Oldest,
31 
34 
37  };
38 
40  bool TryParseValue(const std::string& strategyName, TransactionSelectionStrategy& strategy);
41 }}
catapult::model::TransactionSelectionStrategy::Maximize_Fee
Choose transactions with highest fees.
catapult::model::TransactionSelectionStrategy::Minimize_Fee
Choose transactions with lowest fees.
TransactionSelectionStrategy.h
catapult::model::TryParseValue
bool TryParseValue(const std::string &networkName, NetworkIdentifier &networkIdentifier)
Tries to parse networkName into a network identifier (networkIdentifier).
Definition: NetworkInfo.cpp:44
catapult::utils::TryParseEnumValue
bool TryParseEnumValue(const std::array< std::pair< const char *, T >, N > &stringToValueMapping, const std::string &str, T &parsedValue)
Tries to parse str into an enum value (parsedValue) given a mapping of strings to values (stringToVal...
Definition: ConfigurationValueParsers.h:104
catapult::model::TransactionSelectionStrategy::Oldest
catapult::model::TransactionSelectionStrategy
TransactionSelectionStrategy
Strategy for selecting transactions.
Definition: TransactionSelectionStrategy.h:27
ConfigurationValueParsers.h
catapult
Definition: AddressExtractionExtension.cpp:28