xrpld
Loading...
Searching...
No Matches
Endpoint.cpp
1#include <xrpld/peerfinder/PeerfinderManager.h>
2#include <xrpld/peerfinder/detail/Tuning.h>
3
4#include <xrpl/beast/net/IPEndpoint.h>
5
6#include <algorithm>
7#include <cstdint>
8#include <utility>
9
10namespace xrpl::PeerFinder {
11
13 : hops(std::min(hops, Tuning::kMaxHops + 1)), address(std::move(ep))
14{
15}
16
17} // namespace xrpl::PeerFinder
A version-independent IP address and port combination.
Definition IPEndpoint.h:17
STL namespace.