|
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 const std::chrono::seconds | bootcacheCooldownTime (60) |
| constexpr std::chrono::seconds | secondsPerMessage (151) |
| constexpr std::chrono::seconds | liveCacheSecondsToLive (30) |
| constexpr std::chrono::seconds | recentAttemptDuration (60) |
Variables | |
| static const std::array< int, 10 > | connectionBackoff |
| constexpr std::uint32_t | maxHops = 6 |
| constexpr std::uint32_t | numberOfEndpoints = 2 * maxHops |
| constexpr std::uint32_t | numberOfEndpointsMax |
| constexpr std::uint32_t | 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 32 of file peerfinder/impl/Tuning.h.
| anonymous enum |
| Enumerator | |
|---|---|
| bootcacheSize | |
| bootcachePrunePercent | |
Definition at line 88 of file peerfinder/impl/Tuning.h.
|
static |
|
constexpr |
|
constexpr |
|
constexpr |
|
static |
Definition at line 79 of file peerfinder/impl/Tuning.h.
|
constexpr |
Definition at line 110 of file peerfinder/impl/Tuning.h.
|
constexpr |
Definition at line 113 of file peerfinder/impl/Tuning.h.
|
constexpr |
Definition at line 116 of file peerfinder/impl/Tuning.h.
|
constexpr |
Definition at line 120 of file peerfinder/impl/Tuning.h.
1.8.17