1#ifndef XRPL_CORE_LOADFEETRACK_H_INCLUDED 
    2#define XRPL_CORE_LOADFEETRACK_H_INCLUDED 
    4#include <xrpl/basics/Log.h> 
    5#include <xrpl/beast/utility/Journal.h> 
    6#include <xrpl/protocol/XRPAmount.h> 
   43        JLOG(
j_.
trace()) << 
"setRemoteFee: " << f;
 
 
   96        JLOG(
j_.
trace()) << 
"setClusterFee: " << fee;
 
 
 
A generic endpoint for log messages.
 
static Sink & getNullSink()
Returns a Sink which does nothing.
 
Stream trace() const
Severity stream access functions.
 
Manages the current fee schedule.
 
std::uint32_t getClusterFee() const
 
static std::uint32_t constexpr lftFeeIncFraction
 
bool isLoadedCluster() const
 
static std::uint32_t constexpr lftNormalFee
 
std::uint32_t raiseCount_
 
void setRemoteFee(std::uint32_t f)
 
bool isLoadedLocal() const
 
std::uint32_t localTxnLoadFee_
 
std::uint32_t remoteTxnLoadFee_
 
std::uint32_t getLocalFee() const
 
std::uint32_t getLoadBase() const
 
LoadFeeTrack(beast::Journal journal=beast::Journal(beast::Journal::getNullSink()))
 
std::pair< std::uint32_t, std::uint32_t > getScalingFactors() const
 
std::uint32_t getRemoteFee() const
 
static std::uint32_t constexpr lftFeeDecFraction
 
std::uint32_t getLoadFactor() const
 
void setClusterFee(std::uint32_t fee)
 
std::uint32_t clusterTxnLoadFee_
 
static std::uint32_t constexpr lftFeeMax
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
XRPAmount scaleFeeLoad(XRPAmount fee, LoadFeeTrack const &feeTrack, Fees const &fees, bool bUnlimited)
 
Reflects the fee settings for a particular ledger.