20#ifndef RIPPLE_CORE_CONFIG_H_INCLUDED 
   21#define RIPPLE_CORE_CONFIG_H_INCLUDED 
   23#include <xrpl/basics/BasicConfig.h> 
   24#include <xrpl/basics/base_uint.h> 
   25#include <xrpl/beast/net/IPEndpoint.h> 
   26#include <xrpl/beast/utility/Journal.h> 
   27#include <xrpl/protocol/SystemParameters.h>   
   29#include <boost/filesystem.hpp>   
   94    boost::filesystem::path
 
  315    setupControl(
bool bQuiet, 
bool bSilent, 
bool bStandalone);
 
 
A generic endpoint for log messages.
 
Holds unparsed configuration information.
 
static char const  *const databaseDirName
 
std::optional< int > SWEEP_INTERVAL
 
std::uint32_t LEDGER_HISTORY
 
std::optional< std::size_t > VALIDATION_QUORUM
 
std::uint32_t FETCH_DEPTH
 
std::optional< std::pair< std::uint32_t, std::uint32_t > > FORCED_LEDGER_RANGE_PRESENT
 
std::size_t NETWORK_QUORUM
 
std::vector< std::string > IPS_FIXED
 
boost::filesystem::path CONFIG_DIR
 
void setup(std::string const &strConf, bool bQuiet, bool bSilent, bool bStandalone)
 
static char const  *const configFileName
 
std::vector< std::string > IPS
 
std::optional< beast::IP::Endpoint > rpc_ip
 
std::size_t TX_REDUCE_RELAY_MIN_PEERS
 
bool VP_REDUCE_RELAY_BASE_SQUELCH_ENABLE
 
std::optional< std::size_t > VALIDATOR_LIST_THRESHOLD
 
int RELAY_UNTRUSTED_PROPOSALS
 
beast::Journal journal() const
 
bool TX_REDUCE_RELAY_ENABLE
 
boost::filesystem::path getDebugLogFile() const
Returns the full path and filename of the debug log file.
 
bool TX_REDUCE_RELAY_METRICS
 
static constexpr int MIN_JOB_QUEUE_TX
 
bool RUN_STANDALONE
Operate in stand-alone mode.
 
std::size_t TX_RELAY_PERCENTAGE
 
std::string SERVER_DOMAIN
 
static constexpr int MAX_JOB_QUEUE_TX
 
std::chrono::seconds MAX_DIVERGED_TIME
 
std::uint64_t const ramSize_
 
boost::filesystem::path CONFIG_FILE
 
int getValueFor(SizedItem item, std::optional< std::size_t > node=std::nullopt) const
Retrieve the default value for the item at the specified node size.
 
bool signingEnabled_
Determines if the server will sign a tx, given an account's secret seed.
 
boost::filesystem::path DEBUG_LOGFILE
 
std::string SSL_VERIFY_FILE
 
void setupControl(bool bQuiet, bool bSilent, bool bStandalone)
 
void loadFromString(std::string const &fileContents)
Load the config from the contents of the string.
 
std::unordered_set< uint256, beast::uhash<> > features
 
std::chrono::seconds AMENDMENT_MAJORITY_TIME
 
static constexpr std::uint32_t FEE_UNITS_DEPRECATED
 
static char const  *const validatorsFileName
 
std::chrono::seconds MAX_UNKNOWN_TIME
 
std::size_t VP_REDUCE_RELAY_SQUELCH_MAX_SELECTED_PEERS
 
std::size_t PEERS_OUT_MAX
 
int RELAY_UNTRUSTED_VALIDATIONS
 
std::string SSL_VERIFY_DIR
 
std::optional< uint256 > TRAP_TX_HASH
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
constexpr std::chrono::seconds const defaultAmendmentMajorityTime
The minimum amount of time an amendment must hold a majority.
 
FeeSetup setup_FeeVote(Section const §ion)
 
constexpr XRPAmount DROPS_PER_XRP
Number of drops per 1 XRP.
 
Fee schedule for startup / standalone, and to vote for.
 
XRPAmount reference_fee
The cost of a reference transaction in drops.
 
XRPAmount owner_reserve
The per-owned item reserve requirement in drops.
 
XRPAmount account_reserve
The account reserve requirement in drops.