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