Skip to main content

Interface: IPeer

Peer details.

Table of contents​

Properties​

Properties​

id​

• id: string

The id of the peer.


multiAddresses​

• multiAddresses: string[]

The addresses of the peer.


alias​

• Optional alias: string

The alias of the peer.


relation​

• relation: string

The relation of the peer.


connected​

• connected: boolean

Is it connected.


gossip​

• Optional gossip: Object

Gossip metrics for the peer.

Type declaration​

NameTypeDescription
heartbeatIGossipHeartbeatThe peer heartbeat.
metricsIGossipMetricsThe peer metrics.