rippled
Loading...
Searching...
No Matches
include/xrpl/resource/detail/Tuning.h
1#ifndef XRPL_RESOURCE_TUNING_H_INCLUDED
2#define XRPL_RESOURCE_TUNING_H_INCLUDED
3
4#include <chrono>
5
6namespace ripple {
7namespace Resource {
8
10enum {
11 // Balance at which a warning is issued
12 warningThreshold = 5000
13
14 // Balance at which the consumer is disconnected
15 ,
16 dropThreshold = 25000
17
18 // The number of seconds in the exponential decay window
19 // (This should be a power of two)
20 ,
22
23 // The minimum balance required in order to include a load source in gossip
24 ,
26};
27
28// The number of seconds until an inactive table item is removed
30
31// Number of seconds until imported gossip expires
33
34} // namespace Resource
35} // namespace ripple
36
37#endif
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:6