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