rippled
Loading...
Searching...
No Matches
Classes | Functions | Variables
ripple::RPC::Tuning Namespace Reference

Tuned constants. More...

Classes

struct  LimitRange
 Represents RPC limit parameter values that have a min, default and max. More...
 

Functions

int constexpr pageLength (bool isBinary)
 Maximum number of pages in a LedgerData response.
 

Variables

static LimitRange constexpr accountLines = {10, 200, 400}
 Limits for the account_lines command.
 
static LimitRange constexpr accountChannels = {10, 200, 400}
 Limits for the account_channels command.
 
static LimitRange constexpr accountObjects = {10, 200, 400}
 Limits for the account_objects command.
 
static LimitRange constexpr accountOffers = {10, 200, 400}
 Limits for the account_offers command.
 
static LimitRange constexpr accountTx = {10, 200, 400}
 Limits for the account_tx command.
 
static LimitRange constexpr bookOffers = {0, 60, 100}
 Limits for the book_offers command.
 
static LimitRange constexpr noRippleCheck = {10, 300, 400}
 Limits for the no_ripple_check command.
 
static LimitRange constexpr accountNFTokens = {20, 100, 400}
 Limits for the account_nftokens command, in pages.
 
static LimitRange constexpr nftOffers = {50, 250, 500}
 Limits for the nft_buy_offers & nft_sell_offers commands.
 
static int constexpr defaultAutoFillFeeMultiplier = 10
 
static int constexpr defaultAutoFillFeeDivisor = 1
 
static int constexpr maxPathfindsInProgress = 2
 
static int constexpr maxPathfindJobCount = 50
 
static int constexpr maxJobQueueClients = 500
 
auto constexpr maxValidatedLedgerAge = std::chrono::minutes{2}
 
static int constexpr maxRequestSize = 1000000
 
static int constexpr binaryPageLength = 2048
 Maximum number of pages in one response from a binary LedgerData request.
 
static int constexpr jsonPageLength = 256
 Maximum number of pages in one response from a Json LedgerData request.
 
static int constexpr max_src_cur = 18
 Maximum number of source currencies allowed in a path find request.
 
static int constexpr max_auto_src_cur = 88
 Maximum number of auto source currencies in a path find request.
 

Detailed Description

Tuned constants.

Function Documentation

◆ pageLength()

int constexpr ripple::RPC::Tuning::pageLength ( bool  isBinary)
constexpr

Maximum number of pages in a LedgerData response.

Definition at line 59 of file src/xrpld/rpc/detail/Tuning.h.

Variable Documentation

◆ accountLines

LimitRange constexpr ripple::RPC::Tuning::accountLines = {10, 200, 400}
staticconstexpr

Limits for the account_lines command.

Definition at line 18 of file src/xrpld/rpc/detail/Tuning.h.

◆ accountChannels

LimitRange constexpr ripple::RPC::Tuning::accountChannels = {10, 200, 400}
staticconstexpr

Limits for the account_channels command.

Definition at line 21 of file src/xrpld/rpc/detail/Tuning.h.

◆ accountObjects

LimitRange constexpr ripple::RPC::Tuning::accountObjects = {10, 200, 400}
staticconstexpr

Limits for the account_objects command.

Definition at line 24 of file src/xrpld/rpc/detail/Tuning.h.

◆ accountOffers

LimitRange constexpr ripple::RPC::Tuning::accountOffers = {10, 200, 400}
staticconstexpr

Limits for the account_offers command.

Definition at line 27 of file src/xrpld/rpc/detail/Tuning.h.

◆ accountTx

LimitRange constexpr ripple::RPC::Tuning::accountTx = {10, 200, 400}
staticconstexpr

Limits for the account_tx command.

Definition at line 30 of file src/xrpld/rpc/detail/Tuning.h.

◆ bookOffers

LimitRange constexpr ripple::RPC::Tuning::bookOffers = {0, 60, 100}
staticconstexpr

Limits for the book_offers command.

Definition at line 33 of file src/xrpld/rpc/detail/Tuning.h.

◆ noRippleCheck

LimitRange constexpr ripple::RPC::Tuning::noRippleCheck = {10, 300, 400}
staticconstexpr

Limits for the no_ripple_check command.

Definition at line 36 of file src/xrpld/rpc/detail/Tuning.h.

◆ accountNFTokens

LimitRange constexpr ripple::RPC::Tuning::accountNFTokens = {20, 100, 400}
staticconstexpr

Limits for the account_nftokens command, in pages.

Definition at line 39 of file src/xrpld/rpc/detail/Tuning.h.

◆ nftOffers

LimitRange constexpr ripple::RPC::Tuning::nftOffers = {50, 250, 500}
staticconstexpr

Limits for the nft_buy_offers & nft_sell_offers commands.

Definition at line 42 of file src/xrpld/rpc/detail/Tuning.h.

◆ defaultAutoFillFeeMultiplier

int constexpr ripple::RPC::Tuning::defaultAutoFillFeeMultiplier = 10
staticconstexpr

Definition at line 44 of file src/xrpld/rpc/detail/Tuning.h.

◆ defaultAutoFillFeeDivisor

int constexpr ripple::RPC::Tuning::defaultAutoFillFeeDivisor = 1
staticconstexpr

Definition at line 45 of file src/xrpld/rpc/detail/Tuning.h.

◆ maxPathfindsInProgress

int constexpr ripple::RPC::Tuning::maxPathfindsInProgress = 2
staticconstexpr

Definition at line 46 of file src/xrpld/rpc/detail/Tuning.h.

◆ maxPathfindJobCount

int constexpr ripple::RPC::Tuning::maxPathfindJobCount = 50
staticconstexpr

Definition at line 47 of file src/xrpld/rpc/detail/Tuning.h.

◆ maxJobQueueClients

int constexpr ripple::RPC::Tuning::maxJobQueueClients = 500
staticconstexpr

Definition at line 48 of file src/xrpld/rpc/detail/Tuning.h.

◆ maxValidatedLedgerAge

auto constexpr ripple::RPC::Tuning::maxValidatedLedgerAge = std::chrono::minutes{2}
constexpr

Definition at line 49 of file src/xrpld/rpc/detail/Tuning.h.

◆ maxRequestSize

int constexpr ripple::RPC::Tuning::maxRequestSize = 1000000
staticconstexpr

Definition at line 50 of file src/xrpld/rpc/detail/Tuning.h.

◆ binaryPageLength

int constexpr ripple::RPC::Tuning::binaryPageLength = 2048
staticconstexpr

Maximum number of pages in one response from a binary LedgerData request.

Definition at line 53 of file src/xrpld/rpc/detail/Tuning.h.

◆ jsonPageLength

int constexpr ripple::RPC::Tuning::jsonPageLength = 256
staticconstexpr

Maximum number of pages in one response from a Json LedgerData request.

Definition at line 56 of file src/xrpld/rpc/detail/Tuning.h.

◆ max_src_cur

int constexpr ripple::RPC::Tuning::max_src_cur = 18
staticconstexpr

Maximum number of source currencies allowed in a path find request.

Definition at line 65 of file src/xrpld/rpc/detail/Tuning.h.

◆ max_auto_src_cur

int constexpr ripple::RPC::Tuning::max_auto_src_cur = 88
staticconstexpr

Maximum number of auto source currencies in a path find request.

Definition at line 68 of file src/xrpld/rpc/detail/Tuning.h.