|
rippled
|
Heuristically tuned constants. More...
Enumerations | |
| enum | { secondsPerConnect = 10 , maxConnectAttempts = 20 , outPercent = 15 , minOutCount = 10 , defaultMaxPeers = 21 , maxRedirects = 30 } |
| enum | { bootcacheSize = 1000 , bootcachePrunePercent = 10 } |
Functions | |
| static std::chrono::seconds const | bootcacheCooldownTime (60) |
| std::chrono::seconds constexpr | secondsPerMessage (151) |
| std::chrono::seconds constexpr | liveCacheSecondsToLive (30) |
| std::chrono::seconds constexpr | recentAttemptDuration (60) |
Variables | |
| static std::array< int, 10 > const | connectionBackoff |
| std::uint32_t constexpr | maxHops = 6 |
| std::uint32_t constexpr | numberOfEndpoints = 2 * maxHops |
| std::uint32_t constexpr | numberOfEndpointsMax |
| std::uint32_t constexpr | redirectEndpointCount = 10 |
Heuristically tuned constants.
| anonymous enum |
| Enumerator | |
|---|---|
| secondsPerConnect | Time to wait between making batches of connection attempts. |
| maxConnectAttempts | |
| outPercent | |
| minOutCount | |
| defaultMaxPeers | |
| maxRedirects | |
Definition at line 13 of file src/xrpld/peerfinder/detail/Tuning.h.
| anonymous enum |
| Enumerator | |
|---|---|
| bootcacheSize | |
| bootcachePrunePercent | |
Definition at line 69 of file src/xrpld/peerfinder/detail/Tuning.h.
|
static |
|
constexpr |
|
constexpr |
|
constexpr |
|
static |
Definition at line 60 of file src/xrpld/peerfinder/detail/Tuning.h.
|
constexpr |
Definition at line 91 of file src/xrpld/peerfinder/detail/Tuning.h.
|
constexpr |
Definition at line 94 of file src/xrpld/peerfinder/detail/Tuning.h.
|
constexpr |
Definition at line 97 of file src/xrpld/peerfinder/detail/Tuning.h.
|
constexpr |
Definition at line 101 of file src/xrpld/peerfinder/detail/Tuning.h.