Interface NetworkStats

Hierarchy

  • NetworkStats

Properties

banning: {
    bannedPeers: {
        [key: string]: {
            banCount: number;
            lastBanTime: number;
        };
    };
    count: number;
}

Type declaration

  • bannedPeers: {
        [key: string]: {
            banCount: number;
            lastBanTime: number;
        };
    }
    • [key: string]: {
          banCount: number;
          lastBanTime: number;
      }
      • banCount: number
      • lastBanTime: number
  • count: number
incoming: {
    connects: number;
    count: number;
    disconnects: number;
}

Type declaration

  • connects: number
  • count: number
  • disconnects: number
outgoing: {
    connects: number;
    count: number;
    disconnects: number;
}

Type declaration

  • connects: number
  • count: number
  • disconnects: number
startTime: number
totalConnectedPeers: number
totalDisconnectedPeers: number
totalErrors: number
totalMessagesReceived: {
    [key: string]: number;
}

Type declaration

  • [key: string]: number
totalPeersDiscovered: number
totalRemovedPeers: number
totalRequestsReceived: {
    [key: string]: number;
}

Type declaration

  • [key: string]: number

Generated using TypeDoc