xrpld
Loading...
Searching...
No Matches
xrpl::FeeVoteImpl Class Reference
Inheritance diagram for xrpl::FeeVoteImpl:
Collaboration diagram for xrpl::FeeVoteImpl:

Public Member Functions

 FeeVoteImpl (FeeSetup const &setup, beast::Journal journal)
void doValidation (Fees const &lastFees, Rules const &rules, STValidation &val) override
 Add local fee preference to validation.
void doVoting (std::shared_ptr< ReadView const > const &lastClosedLedger, std::vector< std::shared_ptr< STValidation > > const &parentValidations, std::shared_ptr< SHAMap > const &initialPosition) override
 Cast our local vote on the fee.

Private Attributes

FeeSetup target_
beast::Journal const journal_

Detailed Description

Definition at line 95 of file FeeVoteImpl.cpp.

Constructor & Destructor Documentation

◆ FeeVoteImpl()

xrpl::FeeVoteImpl::FeeVoteImpl ( FeeSetup const & setup,
beast::Journal journal )

Definition at line 116 of file FeeVoteImpl.cpp.

Member Function Documentation

◆ doValidation()

void xrpl::FeeVoteImpl::doValidation ( Fees const & lastFees,
Rules const & rules,
STValidation & val )
overridevirtual

Add local fee preference to validation.

Parameters
lastClosedLedger
baseValidation

Implements xrpl::FeeVote.

Definition at line 122 of file FeeVoteImpl.cpp.

◆ doVoting()

void xrpl::FeeVoteImpl::doVoting ( std::shared_ptr< ReadView const > const & lastClosedLedger,
std::vector< std::shared_ptr< STValidation > > const & parentValidations,
std::shared_ptr< SHAMap > const & initialPosition )
overridevirtual

Cast our local vote on the fee.

Parameters
lastClosedLedger
initialPosition

Implements xrpl::FeeVote.

Definition at line 174 of file FeeVoteImpl.cpp.

Member Data Documentation

◆ target_

FeeSetup xrpl::FeeVoteImpl::target_
private

Definition at line 98 of file FeeVoteImpl.cpp.

◆ journal_

beast::Journal const xrpl::FeeVoteImpl::journal_
private

Definition at line 99 of file FeeVoteImpl.cpp.