CatapultServer  v0.5.0.1 (Elephant)
catapult::harvesting::TransactionFeeMaximizer Class Reference

Maximizes fees given a stream of transaction infos. More...

Collaboration diagram for catapult::harvesting::TransactionFeeMaximizer:

Public Member Functions

const FeePolicybest () 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
 

Detailed Description

Maximizes fees given a stream of transaction infos.

Member Function Documentation

◆ apply()

void catapult::harvesting::TransactionFeeMaximizer::apply ( const model::TransactionInfo transactionInfo)

Applies transactionInfo to the maximizer to include in the best fee policy calculation.

Here is the call graph for this function:

◆ best()

const FeePolicy & catapult::harvesting::TransactionFeeMaximizer::best ( ) const

Gets the best fee policy identified.

Member Data Documentation

◆ m_best

FeePolicy catapult::harvesting::TransactionFeeMaximizer::m_best
private

◆ m_current

FeePolicy catapult::harvesting::TransactionFeeMaximizer::m_current
private

The documentation for this class was generated from the following files: