mirror of https://github.com/oxen-io/lokinet
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
333 B
C++
19 lines
333 B
C++
#pragma once
|
|
|
|
#include <llarp/crypto/constants.hpp>
|
|
#include <llarp/util/aligned.hpp>
|
|
|
|
namespace llarp
|
|
{
|
|
struct PathID_t final : public AlignedBuffer<PATHIDSIZE>
|
|
{};
|
|
|
|
} // namespace llarp
|
|
|
|
namespace std
|
|
{
|
|
template <>
|
|
struct hash<llarp::PathID_t> : hash<llarp::AlignedBuffer<llarp::PathID_t::SIZE>>
|
|
{};
|
|
} // namespace std
|