Class: MoneroPeer

MoneroPeer()

Models a peer to the daemon.

Constructor

new MoneroPeer()

Source:

Methods

getAddress()

Source:

getAvgDownload()

Source:

getAvgUpload()

Source:

getCurrentDownload()

Source:

getCurrentUpload()

Source:

getHeight()

Source:

getHost()

Source:

getId()

Source:

getId()

Source:

getLastSeenTimestamp()

Source:

getLiveTime()

Source:

getNumReceives()

Source:

getNumSends()

Source:

getNumSupportFlags()

Source:

getPort()

Source:

getPruningSeed()

Source:

getReceiveIdleTime()

Source:

getRpcCreditsPerHash()

Source:

getRpcPort()

Source:

getSendIdleTime()

Source:

getState()

Source:

getType()

Source:

isIncoming()

Source:

isLocalHost()

Source:

isLocalIp()

Source:

isOnline() → {boolean}

Indicates if the peer was online when last checked (aka "white listed" as opposed to "gray listed").
Source:
Returns:
true if peer was online when last checked, false otherwise
Type
boolean

setAddress()

Source:

setAvgDownload()

Source:

setAvgUpload()

Source:

setCurrentDownload()

Source:

setCurrentUpload()

Source:

setHeight()

Source:

setHost()

Source:

setId()

Source:

setId()

Source:

setIsIncoming()

Source:

setIsLocalHost()

Source:

setIsLocalIp()

Source:

setIsOnline()

Source:

setLastSeenTimestamp()

Source:

setLiveTime()

Source:

setNumReceives()

Source:

setNumSends()

Source:

setNumSupportFlags()

Source:

setPort()

Source:

setPruningSeed()

Source:

setReceiveIdleTime()

Source:

setRpcCreditsPerHash()

Source:

setRpcPort()

Source:

setSendIdleTime()

Source:

setState()

Source:

setType()

Source:

toJson()

Source: