Skip to content

discv5::Discv5Peer

A peer discovered by the discv5 crawler. More...

#include <discv5_types.hpp>

Public Attributes

Name
EnrRecord enr
Full parsed ENR.
ValidatedPeer peer
Handoff record for DialScheduler.
std::chrono::steady_clock::time_point last_seen
Time of most recent contact.

Detailed Description

struct discv5::Discv5Peer;

A peer discovered by the discv5 crawler.

Owns the source enr, derives the peer handoff record from it, and tracks the last-contact timestamp for eviction bookkeeping.

Public Attributes Documentation

variable enr

EnrRecord enr {};

Full parsed ENR.

variable peer

ValidatedPeer peer {};

Handoff record for DialScheduler.

variable last_seen

std::chrono::steady_clock::time_point last_seen {};

Time of most recent contact.


Updated on 2026-04-13 at 23:22:46 -0700