class CrawlerEthstatsController : EthStatsServerController
(source)
<init> |
CrawlerEthstatsController(repository: EthstatsDataRepository) |
repository |
val repository: EthstatsDataRepository |
readBlock |
Reads block information from the peer. fun readBlock(remoteAddress: String, id: String, block: BlockStats): Unit |
readDisconnect |
Handles the disconnection of the peer. fun readDisconnect(remoteAddress: String, id: String): Unit |
readLatency |
Reads latency from the peer to the server, in milliseconds. fun readLatency(remoteAddress: String, id: String, latency: Long): Unit |
readNodeInfo |
Reads node information. This is sent upon connection from the peer. fun readNodeInfo(remoteAddress: String, id: String, nodeInfo: NodeInfo): Unit |
readNodeStats |
Reads node statistics. fun readNodeStats(remoteAddress: String, id: String, nodeStats: NodeStats): Unit |
readPendingTx |
Reads the number of pending transactions from the peer fun readPendingTx(remoteAddress: String, id: String, pendingTx: Long): Unit |