xrpld
Loading...
Searching...
No Matches
xrpl::FeeVote Class Referenceabstract

Manager to process fee votes. More...

#include <FeeVote.h>

Inheritance diagram for xrpl::FeeVote:

Public Member Functions

virtual ~FeeVote ()=default
virtual void doValidation (Fees const &lastFees, Rules const &rules, STValidation &val)=0
 Add local fee preference to validation.
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.

Detailed Description

Manager to process fee votes.

Definition at line 10 of file FeeVote.h.

Constructor & Destructor Documentation

◆ ~FeeVote()

virtual xrpl::FeeVote::~FeeVote ( )
virtualdefault

Member Function Documentation

◆ doValidation()

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

Add local fee preference to validation.

Parameters
lastClosedLedger
baseValidation

Implemented in xrpl::FeeVoteImpl.

◆ doVoting()

virtual void xrpl::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 xrpl::FeeVoteImpl.