20#ifndef RIPPLE_RESOURCE_KEY_H_INCLUDED
21#define RIPPLE_RESOURCE_KEY_H_INCLUDED
23#include <xrpl/beast/net/IPEndpoint.h>
24#include <xrpl/beast/utility/instrumentation.h>
25#include <xrpl/resource/detail/Kind.h>
A version-independent IP address and port combination.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::size_t operator()(Key const &v) const
bool operator()(Key const &lhs, Key const &rhs) const
beast::IP::Endpoint address
Key(Kind k, beast::IP::Endpoint const &addr)