Addressing/metadata for a peer — the shareable, persistable identity. More...
#include "librats/core/types.h"#include "librats/core/address.h"#include "librats/peer/peer_id.h"#include <vector>Go to the source code of this file.
Classes | |
| struct | librats::PeerInfo |
Namespaces | |
| namespace | librats |
Enumerations | |
| enum | librats::PeerTransports : uint8_t { librats::PeerTransportNone = 0 , librats::PeerTransportTcp = 1 << 0 , librats::PeerTransportUdp = 1 << 1 } |
| Transports a peer says it accepts, as a bitmask (see IdentifyMessage). More... | |
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 PeerTable without touching live state.
Definition in file peer_info.h.