3#include <xrpl/shamap/SHAMapInnerNode.h>
static constexpr unsigned int kBranchFactor
Each inner node has 16 children (the 'radix tree' part of the map).
static constexpr auto kCostBandMedium
static constexpr auto kCostBandLarge
static constexpr auto kLegitHashesPerType
How many hashes per type an honest peer asks for at a time.
constexpr std::size_t kReadBufferBytes
Size of buffer used to read from the socket.
static constexpr auto kSoftMaxReplyNodes
The soft cap on the number of ledger entries in a single reply.
static constexpr auto kBandMediumMax
static constexpr auto kSendqIntervals
How many timer intervals a sendq has to stay large before we disconnect.
static constexpr auto kCostPerLookupHit
Cost of one cache-hit lookup.
static constexpr auto kFreeObjectsPerRequest
TMGetObjectByHash differential pricing.
static constexpr auto kTargetSendQueue
How many messages we consider reasonable sustained on a send queue.
static constexpr auto kCostPerLookupMiss
Cost of one node-store miss, in units of kCostPerLookupHit.
static constexpr auto kCostBandSmall
Size-band surcharges.
static constexpr auto kHardMaxReplyNodes
The hard cap on the number of ledger entries in a single reply.
static constexpr auto kMaxQueryDepth
The maximum number of levels to search.
static constexpr std::uint32_t kDivergedLedgerLimit
How many ledgers off a server has to be before we consider it diverged.
static constexpr auto kBandSmallMax
Cutoffs that decide which size band a request falls into.
static constexpr auto kDropSendQueue
How many messages on a send queue before we refuse queries.
static constexpr std::uint32_t kConvergedLedgerLimit
How many ledgers off a server can be and we will still consider it converged.
static constexpr auto kSendQueueLogFreq
How often to log send queue size.
static constexpr auto kCheckIdlePeers
How often we check for idle peers (seconds).