rippled
Public Member Functions | List of all members
ripple::FeeVote Class Referenceabstract

Manager to process fee votes. More...

Inheritance diagram for ripple::FeeVote:
Inheritance graph
[legend]

Public Member Functions

virtual ~FeeVote ()=default
 
virtual void doValidation (Fees const &lastFees, Rules const &rules, STValidation &val)=0
 Add local fee preference to validation. More...
 
virtual void doVoting (std::shared_ptr< ReadView const > const &lastClosedLedger, std::vector< std::shared_ptr< STValidation >> const &parentValidations, std::shared_ptr< SHAMap > const &initialPosition)=0
 Cast our local vote on the fee. More...
 

Detailed Description

Manager to process fee votes.

Definition at line 32 of file FeeVote.h.

Constructor & Destructor Documentation

◆ ~FeeVote()

virtual ripple::FeeVote::~FeeVote ( )
virtualdefault

Member Function Documentation

◆ doValidation()

virtual void ripple::FeeVote::doValidation ( Fees const &  lastFees,
Rules const &  rules,
STValidation val 
)
pure virtual

Add local fee preference to validation.

Parameters
lastClosedLedger
baseValidation

Implemented in ripple::FeeVoteImpl.

◆ doVoting()

virtual void ripple::FeeVote::doVoting ( std::shared_ptr< ReadView const > const &  lastClosedLedger,
std::vector< std::shared_ptr< STValidation >> const &  parentValidations,
std::shared_ptr< SHAMap > const &  initialPosition 
)
pure virtual

Cast our local vote on the fee.

Parameters
lastClosedLedger
initialPosition

Implemented in ripple::FeeVoteImpl.