llarp::dht::XorMetric

Public Functions

Name
XorMetric(const Key_t & ourKey)
bool operator()(const Key_t & left, const Key_t & right) const
bool operator()(const RouterContact & left, const RouterContact & right) const

Public Attributes

Name
const Key_t us

Public Functions Documentation

function XorMetric

inline XorMetric(
    const Key_t & ourKey
)

function operator()

inline bool operator()(
    const Key_t & left,
    const Key_t & right
) const

function operator()

inline bool operator()(
    const RouterContact & left,
    const RouterContact & right
) const

Public Attributes Documentation

variable us

const Key_t us;

Updated on 2026-01-10 at 22:49:45 +0000