tuweni / org.apache.tuweni.devp2p.eth / Status

Status

data class Status (source)

Peer status information

Parameters

protocolVersion - ETH subprotocol version

networkID - the network ID

totalDifficulty - the total difficulty known to the peer

bestHash - best block hash known to the peer

genesisHash - genesis hash used by peer

forkHash - the hash of the fork if known

forkBlock - the fork block number if known

Constructors

<init>

Peer status information

Status(protocolVersion: Int, networkID: UInt256, totalDifficulty: UInt256, bestHash: Bytes32, genesisHash: Bytes32, forkHash: Bytes?, forkBlock: Long?)

Properties

bestHash

best block hash known to the peer

val bestHash: Bytes32

forkBlock

the fork block number if known

val forkBlock: Long?

forkHash

the hash of the fork if known

val forkHash: Bytes?

genesisHash

genesis hash used by peer

val genesisHash: Bytes32

networkID

the network ID

val networkID: UInt256

protocolVersion

ETH subprotocol version

val protocolVersion: Int

totalDifficulty

the total difficulty known to the peer

val totalDifficulty: UInt256