Back to Site
Loading...
Searching...
No Matches
peer_info.h File Reference

Addressing/metadata for a peer — the shareable, persistable identity. More...

#include "core/types.h"
#include "core/address.h"
#include "peer/peer_id.h"
#include <vector>
Include dependency graph for peer_info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  librats::PeerInfo
 

Namespaces

namespace  librats
 

Detailed Description

Addressing/metadata for a peer — the shareable, persistable identity.

PeerInfo is the "where / what" of a peer, kept separate from the live transport (Connection) and from the raw identity (PeerId). It is a value type: snapshotted into callbacks and into the PeerStore without touching live state.

Definition in file peer_info.h.