3#include <xrpl/basics/chrono.h>
4#include <xrpl/protocol/XRPAmount.h>
14static inline std::string
const&
static constexpr internalrep kMaxRep
constexpr value_type drops() const
Returns the number of drops.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
bool isLegalAmount(XRPAmount const &amount)
Returns true if the amount does not exceed the initial XRP in existence.
constexpr XRPAmount kDropsPerXrp
Number of drops per 1 XRP.
constexpr std::chrono::seconds const kDefaultAmendmentMajorityTime
The minimum amount of time an amendment must hold a majority.
constexpr std::ratio< 80, 100 > kAmendmentMajorityCalcThreshold
The minimum amount of support an amendment should have.
static constexpr std::uint32_t kXrpLedgerEarliestFees
The XRP Ledger mainnet's earliest ledger with a FeeSettings object.
std::chrono::duration< int, std::ratio_multiply< days::period, std::ratio< 7 > > > weeks
static std::string const & systemName()
bool isLegalAmountSigned(XRPAmount const &amount)
Returns true if the absolute value of the amount does not exceed the initial XRP in existence.
static std::string const & systemCurrencyCode()
constexpr XRPAmount kInitialXrp
Configure the native currency.
static constexpr std::uint32_t kXrpLedgerEarliestSeq
The XRP ledger network's earliest allowed sequence.