1#ifndef XRPL_PROTOCOL_SYSTEMPARAMETERS_H_INCLUDED
2#define XRPL_PROTOCOL_SYSTEMPARAMETERS_H_INCLUDED
4#include <xrpl/basics/chrono.h>
5#include <xrpl/protocol/XRPAmount.h>
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
static std::string const & systemName()
constexpr std::chrono::seconds const defaultAmendmentMajorityTime
The minimum amount of time an amendment must hold a majority.
bool isLegalAmount(XRPAmount const &amount)
Returns true if the amount does not exceed the initial XRP in existence.
static constexpr std::uint32_t XRP_LEDGER_EARLIEST_SEQ
The XRP ledger network's earliest allowed sequence.
static std::string const & systemCurrencyCode()
bool isLegalAmountSigned(XRPAmount const &amount)
Returns true if the absolute value of the amount does not exceed the initial XRP in existence.
constexpr XRPAmount INITIAL_XRP
Configure the native currency.
static constexpr std::uint32_t XRP_LEDGER_EARLIEST_FEES
The XRP Ledger mainnet's earliest ledger with a FeeSettings object.
constexpr std::ratio< 80, 100 > amendmentMajorityCalcThreshold
The minimum amount of support an amendment should have.
constexpr XRPAmount DROPS_PER_XRP
Number of drops per 1 XRP.