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>
FeeVote::Setup setup_FeeVote(Section const §ion)
Build FeeVote::Setup from a config section.
XRPAmount owner_reserve
The per-owned item reserve requirement in drops.
std::unique_ptr< FeeVote > make_FeeVote(FeeVote::Setup const &setup, beast::Journal journal)
Create an instance of the FeeVote logic.
Manager to process fee votes.
XRPAmount reference_fee
The cost of a reference transaction in drops.
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.
Fee schedule to vote for.
Reflects the fee settings for a particular ledger.
XRPAmount account_reserve
The account reserve requirement in drops.
A generic endpoint for log messages.
static constexpr FeeUnit32 reference_fee_units
The cost of a reference transaction in fee units.
constexpr XRPAmount DROPS_PER_XRP
Number of drops per 1 XRP.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
virtual ~FeeVote()=default
virtual void doValidation(Fees const &lastFees, STValidation &val)=0
Add local fee preference to validation.