rippled
Public Member Functions | Private Attributes | List of all members
ripple::FeeVoteImpl Class Reference
Inheritance diagram for ripple::FeeVoteImpl:
Inheritance graph
[legend]
Collaboration diagram for ripple::FeeVoteImpl:
Collaboration graph
[legend]

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

Private Attributes

FeeSetup target_
 
const beast::Journal journal_
 

Detailed Description

Definition at line 93 of file FeeVoteImpl.cpp.

Constructor & Destructor Documentation

◆ FeeVoteImpl()

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

Definition at line 115 of file FeeVoteImpl.cpp.

Member Function Documentation

◆ doValidation()

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

Add local fee preference to validation.

Parameters
lastClosedLedger
baseValidation

Implements ripple::FeeVote.

Definition at line 121 of file FeeVoteImpl.cpp.

◆ doVoting()

void ripple::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 ripple::FeeVote.

Definition at line 197 of file FeeVoteImpl.cpp.

Member Data Documentation

◆ target_

FeeSetup ripple::FeeVoteImpl::target_
private

Definition at line 96 of file FeeVoteImpl.cpp.

◆ journal_

const beast::Journal ripple::FeeVoteImpl::journal_
private

Definition at line 97 of file FeeVoteImpl.cpp.