rippled
Loading...
Searching...
No Matches
include/xrpl/resource/detail/Tuning.h
1#pragma once
2
3#include <chrono>
4
5namespace xrpl {
6namespace Resource {
7
9enum {
10 // Balance at which a warning is issued
11 warningThreshold = 5000
12
13 // Balance at which the consumer is disconnected
14 ,
15 dropThreshold = 25000
16
17 // The number of seconds in the exponential decay window
18 // (This should be a power of two)
19 ,
21
22 // The minimum balance required in order to include a load source in gossip
23 ,
25};
26
27// The number of seconds until an inactive table item is removed
29
30// Number of seconds until imported gossip expires
32
33} // namespace Resource
34} // namespace xrpl
std::chrono::seconds constexpr gossipExpirationSeconds
std::chrono::seconds constexpr secondsUntilExpiration
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:5