|
CatapultServer
v0.5.0.1 (Elephant)
|
Maximizes fees given a stream of transaction infos. More...

Public Member Functions | |
| const FeePolicy & | best () const |
| Gets the best fee policy identified. More... | |
| void | apply (const model::TransactionInfo &transactionInfo) |
| Applies transactionInfo to the maximizer to include in the best fee policy calculation. More... | |
Private Attributes | |
| FeePolicy | m_current |
| FeePolicy | m_best |
Maximizes fees given a stream of transaction infos.
| void catapult::harvesting::TransactionFeeMaximizer::apply | ( | const model::TransactionInfo & | transactionInfo | ) |
Applies transactionInfo to the maximizer to include in the best fee policy calculation.

| const FeePolicy & catapult::harvesting::TransactionFeeMaximizer::best | ( | ) | const |
Gets the best fee policy identified.
|
private |
|
private |