rippled
Loading...
Searching...
No Matches
Public Member Functions | List of all members
ripple::FeeVote Class Referenceabstract

Manager to process fee votes. More...

#include <FeeVote.h>

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.
 
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 30 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.