20 #ifndef RIPPLE_PEERFINDER_FIXED_H_INCLUDED
21 #define RIPPLE_PEERFINDER_FIXED_H_INCLUDED
23 #include <ripple/peerfinder/impl/Tuning.h>
26 namespace PeerFinder {
static const std::array< int, 10 > connectionBackoff
Metadata for a Fixed slot.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
clock_type::time_point const & when() const
Returns the time after which we shoud allow a connection attempt.
clock_type::time_point m_when
void failure(clock_type::time_point const &now)
Updates metadata to reflect a failed connection.
void success(clock_type::time_point const &now)
Updates metadata to reflect a successful connection.
typename std::chrono::steady_clock ::time_point time_point