Class MoneroPeer

Models a peer to the daemon.

Hierarchy

  • MoneroPeer

Constructors

Properties

address: string
avgDownload: number
avgUpload: number
currentDownload: number
currentUpload: number
height: number
host: string
id: string
isIncoming: boolean
isLocalHost: boolean
isLocalIp: boolean
isOnline: boolean
lastSeenTimestamp: number
liveTime: number
numReceives: number
numSends: number
numSupportFlags: number
port: number
pruningSeed: number
receiveIdleTime: number
rpcCreditsPerHash: bigint
rpcPort: number
sendIdleTime: number
state: string

Methods

  • Returns string

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns string

  • Returns string

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Indicates if the peer was online when last checked (aka "white listed" as opposed to "gray listed").

    Returns boolean

    true if peer was online when last checked, false otherwise

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns number

  • Returns bigint

  • Returns number

  • Returns number

  • Returns string

  • Parameters

    • currentDownload: number

    Returns MoneroPeer

  • Parameters

    • lastSeenTimestamp: number

    Returns MoneroPeer

  • Parameters

    • numSupportFlags: number

    Returns MoneroPeer

  • Parameters

    • receiveIdleTime: number

    Returns MoneroPeer

  • Parameters

    • rpcCreditsPerHash: bigint

    Returns MoneroPeer

  • Returns any

Generated using TypeDoc