rippled
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

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

Variables

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

Detailed Description

Tuned constants.

Function Documentation

◆ pageLength()

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

Maximum number of pages in a LedgerData response.

Definition at line 75 of file rpc/impl/Tuning.h.

Variable Documentation

◆ accountLines

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

Limits for the account_lines command.

Definition at line 37 of file rpc/impl/Tuning.h.

◆ accountChannels

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

Limits for the account_channels command.

Definition at line 40 of file rpc/impl/Tuning.h.

◆ accountObjects

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

Limits for the account_objects command.

Definition at line 43 of file rpc/impl/Tuning.h.

◆ accountOffers

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

Limits for the account_offers command.

Definition at line 46 of file rpc/impl/Tuning.h.

◆ bookOffers

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

Limits for the book_offers command.

Definition at line 49 of file rpc/impl/Tuning.h.

◆ noRippleCheck

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

Limits for the no_ripple_check command.

Definition at line 52 of file rpc/impl/Tuning.h.

◆ accountNFTokens

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

Limits for the account_nftokens command, in pages.

Definition at line 55 of file rpc/impl/Tuning.h.

◆ nftOffers

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

Limits for the nft_buy_offers & nft_sell_offers commands.

Definition at line 58 of file rpc/impl/Tuning.h.

◆ defaultAutoFillFeeMultiplier

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

Definition at line 60 of file rpc/impl/Tuning.h.

◆ defaultAutoFillFeeDivisor

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

Definition at line 61 of file rpc/impl/Tuning.h.

◆ maxPathfindsInProgress

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

Definition at line 62 of file rpc/impl/Tuning.h.

◆ maxPathfindJobCount

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

Definition at line 63 of file rpc/impl/Tuning.h.

◆ maxJobQueueClients

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

Definition at line 64 of file rpc/impl/Tuning.h.

◆ maxValidatedLedgerAge

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

Definition at line 65 of file rpc/impl/Tuning.h.

◆ maxRequestSize

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

Definition at line 66 of file rpc/impl/Tuning.h.

◆ binaryPageLength

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

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

Definition at line 69 of file rpc/impl/Tuning.h.

◆ jsonPageLength

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

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

Definition at line 72 of file rpc/impl/Tuning.h.

◆ max_src_cur

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

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

Definition at line 81 of file rpc/impl/Tuning.h.

◆ max_auto_src_cur

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

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

Definition at line 84 of file rpc/impl/Tuning.h.