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>
32 #include <boost/optional.hpp>
76 boost::filesystem::path
156 boost::optional<std::size_t>
183 boost::optional<beast::IP::Endpoint>
rpc_ip;
201 setupControl(
bool bQuiet,
bool bSilent,
bool bStandalone);
static char const *const validatorsFileName
std::string SSL_VERIFY_DIR
int getValueFor(SizedItem item, boost::optional< std::size_t > node=boost::none) const
Retrieve the default value for the item at the specified node size.
boost::filesystem::path CONFIG_FILE
boost::filesystem::path DEBUG_LOGFILE
void setupControl(bool bQuiet, bool bSilent, bool bStandalone)
static Sink & getNullSink()
Returns a Sink which does nothing.
std::uint32_t FETCH_DEPTH
bool RUN_STANDALONE
Operate in stand-alone mode.
std::string SSL_VERIFY_FILE
void loadFromString(std::string const &fileContents)
Load the config from the contents of the string.
boost::optional< std::size_t > VALIDATION_QUORUM
static constexpr FeeUnit32 TRANSACTION_FEE_BASE
std::vector< std::string > SNTP_SERVERS
std::chrono::seconds WEBSOCKET_PING_FREQ
std::vector< std::string > IPS_FIXED
XRPAmount FEE_OWNER_RESERVE
bool RELAY_UNTRUSTED_PROPOSALS
XRPAmount FEE_ACCOUNT_RESERVE
std::chrono::seconds AMENDMENT_MAJORITY_TIME
A generic endpoint for log messages.
static char const *const databaseDirName
std::uint32_t LEDGER_HISTORY
std::size_t NETWORK_QUORUM
constexpr XRPAmount DROPS_PER_XRP
Number of drops per 1 XRP.
boost::filesystem::path CONFIG_DIR
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)
constexpr const std::chrono::seconds defaultAmendmentMajorityTime
The minimum amount of time an amendment must hold a majority.
bool RELAY_UNTRUSTED_VALIDATIONS
std::vector< std::string > IPS
static char const *const configFileName
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.
boost::optional< beast::IP::Endpoint > rpc_ip
Holds unparsed configuration information.