20 #ifndef RIPPLE_APP_MISC_FEEVOTE_H_INCLUDED
21 #define RIPPLE_APP_MISC_FEEVOTE_H_INCLUDED
23 #include <ripple/basics/BasicConfig.h>
24 #include <ripple/ledger/ReadView.h>
25 #include <ripple/protocol/STValidation.h>
26 #include <ripple/protocol/SystemParameters.h>
27 #include <ripple/shamap/SHAMap.h>
virtual void doValidation(Fees const &lastFees, Rules const &rules, STValidation &val)=0
Add local fee preference to validation.
Manager to process fee votes.
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.
Reflects the fee settings for a particular ledger.
A generic endpoint for log messages.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
virtual ~FeeVote()=default
Rules controlling protocol behavior.
Fee schedule for startup / standalone, and to vote for.
std::unique_ptr< FeeVote > make_FeeVote(FeeSetup const &setup, beast::Journal journal)
Create an instance of the FeeVote logic.