Interface P2PInternalState

Hierarchy

  • P2PInternalState

Properties

advertiseAddress: boolean
connectTime: number
connectionKind: ConnectionKind
dateAdded?: Date
latency: number
messageCounter: Map<string, number>
messageRates: Map<string, number>
netgroup: number
peerKind: PeerKind
productivity: {
    lastResponded: number;
    requestCounter: number;
    responseCounter: number;
    responseRate: number;
}

Type declaration

  • lastResponded: number
  • requestCounter: number
  • responseCounter: number
  • responseRate: number
reputation: number
rpcCounter: Map<string, number>
rpcRates: Map<string, number>
wsMessageCount: number
wsMessageRate: number

Generated using TypeDoc